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/05/27 16:57:19 UTC

[whimsy] branch master updated: minutes aren't missing if they are posted

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 0c7f5a9  minutes aren't missing if they are posted
0c7f5a9 is described below

commit 0c7f5a99cb3ee2dbe0f14a74ab3b2aea5cbdbb57
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun May 27 12:56:57 2018 -0400

    minutes aren't missing if they are posted
---
 www/board/agenda/views/models/agenda.js.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/board/agenda/views/models/agenda.js.rb b/www/board/agenda/views/models/agenda.js.rb
index ccb1f68..7c1e667 100644
--- a/www/board/agenda/views/models/agenda.js.rb
+++ b/www/board/agenda/views/models/agenda.js.rb
@@ -166,6 +166,8 @@ class Agenda
     elsif @attach =~ /^3\w$/
       if Server.drafts.include? @text[/board_minutes_\w+.txt/]
         return false
+      elsif Minutes.get(@title) == 'approved'
+        return false
       else
         return true
       end

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