You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/03/25 09:36:46 UTC
[whimsy] branch master updated: Trying to fix GH action error
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 a54d820 Trying to fix GH action error
a54d820 is described below
commit a54d8204769a2f86208fb40ac36f72f62e66d86f
Author: Sebb <se...@apache.org>
AuthorDate: Fri Mar 25 09:36:30 2022 +0000
Trying to fix GH action error
---
www/board/agenda/views/router.js.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/board/agenda/views/router.js.rb b/www/board/agenda/views/router.js.rb
index c9fbeaa..aa486b2 100644
--- a/www/board/agenda/views/router.js.rb
+++ b/www/board/agenda/views/router.js.rb
@@ -144,7 +144,8 @@ class Router
# form overrides
form = button.form
- if form&.button
+ form2 = form # Try to nail down GH error: syntax error in 'if (form?.button) {'
+ if form2&.button
form.button.each_pair do |name, override|
if name == 'text'
props.text = form.button.text