whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: check object and keys
Date Wed, 19 Apr 2017 00:58:03 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  3d9dfdf   check object and keys
3d9dfdf is described below

commit 3d9dfdf4e54f741c9692b59d4825e1a2086a9533
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Tue Apr 18 20:57:48 2017 -0400

    check object and keys
---
 www/roster/views/person.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/views/person.js.rb b/www/roster/views/person.js.rb
index d55b03b..e03fcba 100644
--- a/www/roster/views/person.js.rb
+++ b/www/roster/views/person.js.rb
@@ -76,7 +76,7 @@ class Person < React
         end
 
         # Moderates
-        if @committer.moderates
+        if @committer.moderates and @committer.moderates.keys().length > 0
           _tr do
             _td 'Moderates'
             _td do

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message