From dfcc7212869a7c1abf00af612a69d5e59c2be12d Mon Sep 17 00:00:00 2001 From: Robert Csakany Date: Wed, 27 Dec 2023 11:37:08 +0100 Subject: [PATCH] JNG-5378 Fix missing parenthesis --- .../actor/src/containers/widget-fragments/tabcontroller.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/tabcontroller.hbs b/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/tabcontroller.hbs index 403af926..357cee25 100644 --- a/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/tabcontroller.hbs +++ b/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/tabcontroller.hbs @@ -22,7 +22,7 @@ name: '{{ getTranslationKeyForVisualElement tab.element }}', label: t('{{ getTranslationKeyForVisualElement tab.element }}', { defaultValue: '{{ tab.element.label }}' }) as string, disabled: {{# if tab.element.enabledBy }}!data.{{ tab.element.enabledBy.name }} ||{{/ if }} isLoading, - hidden: {{# if tab.element.hiddenBy }}actions?.is{{ safeName tab.element }}Hidden ? actions?.is{{ safeName tab.element }}Hidden(data, editMode) : data.{{ tab.element.hiddenBy.name }}){{ else }}false{{/ if }}, + hidden: {{# if tab.element.hiddenBy }}(actions?.is{{ safeName tab.element }}Hidden ? actions?.is{{ safeName tab.element }}Hidden(data, editMode) : data.{{ tab.element.hiddenBy.name }}){{ else }}false{{/ if }}, {{# if tab.element.icon }} icon: '{{ tab.element.icon.iconName }}', {{/ if }}