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/04/01 20:50:19 UTC

[whimsy] branch master updated: show something if there is nothing to do

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 7212ce0  show something if there is nothing to do
7212ce0 is described below

commit 7212ce044f36a18efd57d29b32818d598b4a8c64
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun Apr 1 16:50:05 2018 -0400

    show something if there is nothing to do
---
 www/board/agenda/views/pages/feedback.js.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/board/agenda/views/pages/feedback.js.rb b/www/board/agenda/views/pages/feedback.js.rb
index 061dd1a..91d1008 100644
--- a/www/board/agenda/views/pages/feedback.js.rb
+++ b/www/board/agenda/views/pages/feedback.js.rb
@@ -13,7 +13,9 @@ class Feedback < Vue
 
   def render
     if @list == nil
-      _p 'loading'
+      _h2 'Loading...'
+    elsif @list.empty?
+      _h2 'No feedback to send'
     else
       @list.each do |item|
         _h2 do

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