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 b17d043  handle terminate resolutions correctly
b17d043 is described below

commit b17d04337d484e3e6422915f10a6693b0c9c92bd
Author: Sam Ruby <[email protected]>
AuthorDate: Mon Sep 23 10:08:28 2019 -0600

    handle terminate resolutions correctly
---
 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 1a5f525..bf9b155 100644
--- a/www/board/agenda/views/actions/todos.json.rb
+++ b/www/board/agenda/views/actions/todos.json.rb
@@ -206,7 +206,9 @@ end
 
 if @terminate
   minutes[:todos][:terminated] ||= []
-  minutes[:todos][:terminated] += @terminate
+  minutes[:todos][:terminated] +=
+    @terminate.map {|resolution| resolution['name']}
+end
 end
 
 unless todos == minutes[:todos]

Reply via email to