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 2018/04/24 15:26:12 UTC

[whimsy] branch master updated: pesky precedence rules

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 38e8198  pesky precedence rules
38e8198 is described below

commit 38e8198aefdccdcef7cc3c683690b21339cc4983
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Apr 24 11:25:58 2018 -0400

    pesky precedence rules
---
 www/board/agenda/views/pages/flagged.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/views/pages/flagged.js.rb b/www/board/agenda/views/pages/flagged.js.rb
index 06d814d..82eddb4 100644
--- a/www/board/agenda/views/pages/flagged.js.rb
+++ b/www/board/agenda/views/pages/flagged.js.rb
@@ -7,7 +7,7 @@ class Flagged < Vue
     first = true
 
     Agenda.index.each do |item|
-      flagged = item.flagged_by or Pending.flagged.include? item.attach
+      flagged = item.flagged_by || Pending.flagged.include?(item.attach)
 
       if not flagged and Minutes.started and item.attach =~ /^(\d+|[A-Z]+)$/
         flagged = !item.skippable

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.