You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/04/19 00:58:03 UTC

[whimsy] branch master updated: check object and keys

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 <ru...@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" <co...@whimsical.apache.org>'].