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_sent being nil
Date Wed, 17 Aug 2016 23:31:33 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  b222b80   handle feedback_sent being nil
b222b80 is described below

commit b222b8054ee6509d8f129c67bcea258936609e03
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Wed Aug 17 19:31:04 2016 -0400

    handle feedback_sent being nil
---
 www/board/agenda/views/actions/feedback.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/views/actions/feedback.json.rb b/www/board/agenda/views/actions/feedback.json.rb
index fa8e4ed..d434ad8 100644
--- a/www/board/agenda/views/actions/feedback.json.rb
+++ b/www/board/agenda/views/actions/feedback.json.rb
@@ -91,7 +91,7 @@ Agenda.parse(@agenda, :full).each do |item|
   output << {
     attach: item[:attach],
     title: item['title'],
-    sent: feedback_sent.include?(item['title']),
+    sent: feedback_sent && feedback_sent.include?(item['title']),
     mail: mail.to_s
   }
 end

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

Mime
View raw message