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: handle feedback not sent yet
Date Mon, 01 Aug 2016 17:21:58 GMT
This is an automated email from the ASF dual-hosted git repository.

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

The following commit(s) were added to refs/heads/master by this push:
       new  58cc5e3   handle feedback not sent yet
58cc5e3 is described below

commit 58cc5e3d33d3e3f34aca13c40d526e643172f905
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Mon Aug 1 13:21:43 2016 -0400

    handle feedback not sent yet
---
 www/board/agenda/views/actions/todos.json.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/board/agenda/views/actions/todos.json.rb b/www/board/agenda/views/actions/todos.json.rb
index b0051aa..9221638 100644
--- a/www/board/agenda/views/actions/todos.json.rb
+++ b/www/board/agenda/views/actions/todos.json.rb
@@ -36,7 +36,9 @@ Agenda.parse(agenda, :full).each do |item|
   next unless minutes[item['title']] or 
     (item['comments'] and not item['comments'].empty?)
 
-  feedback << item['title'] unless todos[:feedback_sent].include? item['title']
+  unless todos[:feedback_sent] and todos[:feedback_sent].include? item['title']
+    feedback << item['title'] 
+  end
 end
 
 ########################################################################

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

Mime
View raw message