This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch roster_on_vue
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit 81a41210e56de1d27adf3f3157d89a33001bb093
Author: Sam Ruby <[email protected]>
AuthorDate: Wed Sep 6 08:21:28 2017 -0400

    recompute roster on change
---
 www/roster/views/pmc/pmc.js.rb | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/www/roster/views/pmc/pmc.js.rb b/www/roster/views/pmc/pmc.js.rb
index 1c63fb8..19da852 100644
--- a/www/roster/views/pmc/pmc.js.rb
+++ b/www/roster/views/pmc/pmc.js.rb
@@ -27,8 +27,16 @@ class PMCMembers < Vue
     end
   end
 
-  # compute roster
   def created()
+    self.computeRoster()
+  end
+
+  def beforeUpdate()
+    self.computeRoster()
+  end
+
+  # compute roster
+  def computeRoster()
     roster = []
     
     for id in @@committee.roster

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to