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 b9dee4f show post meeting actions immediately upon adjournment
b9dee4f is described below
commit b9dee4f9a7e3a75973dbec59f29bd1ee6233e708
Author: Sam Ruby <[email protected]>
AuthorDate: Thu Apr 11 08:44:23 2019 -0400
show post meeting actions immediately upon adjournment
---
www/board/agenda/views/buttons/timestamp.js.rb | 1 +
www/board/agenda/views/pages/adjournment.js.rb | 9 +++++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/www/board/agenda/views/buttons/timestamp.js.rb
b/www/board/agenda/views/buttons/timestamp.js.rb
index ca3cb5c..e4bdb5e 100644
--- a/www/board/agenda/views/buttons/timestamp.js.rb
+++ b/www/board/agenda/views/buttons/timestamp.js.rb
@@ -22,6 +22,7 @@ class Timestamp < Vue
post 'minute', data do |minutes|
@disabled = false
Minutes.load minutes
+ Todos.load() if Minutes.complete
end
end
end
diff --git a/www/board/agenda/views/pages/adjournment.js.rb
b/www/board/agenda/views/pages/adjournment.js.rb
index 99f0e7d..578c44e 100644
--- a/www/board/agenda/views/pages/adjournment.js.rb
+++ b/www/board/agenda/views/pages/adjournment.js.rb
@@ -142,8 +142,9 @@ class Adjournment < Vue
end
# fetch secretary todos once the minutes are complete
- def mounted()
- if Minutes.complete and Todos.loading and not Todos.fetched
+ def load()
+ if Minutes.complete and not Todos.fetched
+ Todos.loading = true
Todos.fetched = true
retrieve "secretary-todos/#{Agenda.title}", :json do |todos|
Todos.set todos
@@ -151,6 +152,10 @@ class Adjournment < Vue
end
end
end
+
+ def mounted()
+ self.load() if Todos.loading
+ end
end
class PMCActions < Vue