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: pesky precedence rules
Date Tue, 24 Apr 2018 15:26:12 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 38e8198  pesky precedence rules
38e8198 is described below

commit 38e8198aefdccdcef7cc3c683690b21339cc4983
Author: Sam Ruby <rubys@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.

Mime
View raw message