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 227445e  Still testing
227445e is described below

commit 227445e7154a57dba1e935f6f78a9fedd8dde493
Author: Sebb <[email protected]>
AuthorDate: Fri Mar 25 09:58:55 2022 +0000

    Still testing
---
 www/board/agenda/views/router.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/views/router.js.rb 
b/www/board/agenda/views/router.js.rb
index aa486b2..6d246bb 100644
--- a/www/board/agenda/views/router.js.rb
+++ b/www/board/agenda/views/router.js.rb
@@ -145,7 +145,7 @@ class Router
         # form overrides
         form = button.form
         form2 = form # Try to nail down GH error: syntax error in  'if 
(form?.button) {'
-        if form2&.button
+        if form2 and form.button
           form.button.each_pair do |name, override|
             if name == 'text'
               props.text = form.button.text

Reply via email to