This is an automated email from the ASF dual-hosted git repository.
sebb 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 aa15fdd5 Alert when memapp entries not found
aa15fdd5 is described below
commit aa15fdd5365d85a04bd0c2384009f1b8ec0ec870
Author: Sebb <[email protected]>
AuthorDate: Fri Mar 10 16:20:42 2023 +0000
Alert when memapp entries not found
---
www/secretary/workbench/views/forms/memapp.js.rb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/www/secretary/workbench/views/forms/memapp.js.rb
b/www/secretary/workbench/views/forms/memapp.js.rb
index 8b81b2fd..38407556 100644
--- a/www/secretary/workbench/views/forms/memapp.js.rb
+++ b/www/secretary/workbench/views/forms/memapp.js.rb
@@ -69,6 +69,9 @@ class MemApp < Vue
# fetch memapp-received information
jQuery.getJSON('../../memapp.json') do |result|
@received = result.received
+ if @received.length == 0
+ alert "No entries found - has memapp-received.txt been set up yet?"
+ end
end
# watch for status updates