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 daa09ac Revert to safe navigation
daa09ac is described below
commit daa09ac56deced8388fdb170a01fbff213e5a42b
Author: Sebb <[email protected]>
AuthorDate: Fri Mar 25 11:39:26 2022 +0000
Revert to safe navigation
Problem fixed by dropping nodejs install
[skip ci]
---
www/board/agenda/views/router.js.rb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/www/board/agenda/views/router.js.rb
b/www/board/agenda/views/router.js.rb
index 6d246bb..c9fbeaa 100644
--- a/www/board/agenda/views/router.js.rb
+++ b/www/board/agenda/views/router.js.rb
@@ -144,8 +144,7 @@ class Router
# form overrides
form = button.form
- form2 = form # Try to nail down GH error: syntax error in 'if
(form?.button) {'
- if form2 and form.button
+ if form&.button
form.button.each_pair do |name, override|
if name == 'text'
props.text = form.button.text