Refactor unnecessary curly parenthese (#2699)

* Refactor unnecessary curly parentheses
This commit is contained in:
Carlos Alcaide Corvo authored and GitHub committed 2025-03-03 09:42:38 -08:00
1 parent f35382a4e0
commit f58d345b63
8 files changed
+9 -9

No files matched your search

@@ -3,7 +3,7 @@
SPDX-License-Identifier: BUSL-1.1
}}
<li class='rose-metadata-list-item {{(concat "hds-foreground-" @color)}}'>
<li class='rose-metadata-list-item {{concat "hds-foreground-" @color}}'>
{{#if @icon}}
<Hds::Icon @name={{@icon}} />
{{/if}}
@@ -11,7 +11,7 @@
@isRequired={{@isRequired}}
@isInvalid={{@isInvalid}}
@value={{@value}}
@type={{(or @type 'password')}}
@type={{or @type 'password'}}
name={{@name}}
disabled={{or @isDisabled (not this.isEditing)}}
@hasVisibilityToggle={{false}}
@@ -69,7 +69,7 @@
}}
<Hds::Link::Inline
@color='secondary'
@href={{(doc-url 'role.add-grant-scopes')}}
@href={{doc-url 'role.add-grant-scopes'}}
>
{{t 'resources.role.scope.messages.keywords-selected.link'}}
</Hds::Link::Inline>
@@ -127,7 +127,7 @@
<G.RadioCard
@value={{pluginType}}
@checked={{eq pluginType @model.compositeType}}
@disabled={{(not @model.isNew)}}
@disabled={{not @model.isNew}}
{{on 'input' (fn @changePluginType pluginType)}}
as |R|
>
@@ -127,7 +127,7 @@
<G.RadioCard
@value={{pluginType}}
@checked={{eq pluginType @model.compositeType}}
@disabled={{(not @model.isNew)}}
@disabled={{not @model.isNew}}
{{on 'input' (fn @changePluginType pluginType)}}
as |R|
>
+2 -2
View File
@@ -101,7 +101,7 @@
{{t 'resources.policy.titles.policy_description'}}
<Hds::Link::Inline
@color='secondary'
@href={{(doc-url 'storage-policy.update')}}
@href={{doc-url 'storage-policy.update'}}
>
{{t 'actions.read-more'}}
</Hds::Link::Inline>
@@ -111,7 +111,7 @@
{{t 'resources.policy.titles.create_policy_description'}}
<Hds::Link::Inline
@color='secondary'
@href={{(doc-url 'storage-policy.update')}}
@href={{doc-url 'storage-policy.update'}}
>
{{t 'actions.read-more'}}
</Hds::Link::Inline>
@@ -47,7 +47,7 @@
@icon='at-sign'
@color='boundary'
@text={{alias.value}}
@route={{'scopes.scope.targets.target.manage-alias'}}
@route='scopes.scope.targets.target.manage-alias'
@model={{alias.id}}
/>
</LinkListPanel>
@@ -21,7 +21,7 @@
<DocLink @doc='worker.create-tags' @iconSize='large' />
</h2>
{{t 'resources.worker.tags.create.description'}}
<Hds::Link::Inline @color='secondary' @href={{(doc-url 'worker')}}>
<Hds::Link::Inline @color='secondary' @href={{doc-url 'worker'}}>
{{t 'resources.worker.tags.create.link'}}
</Hds::Link::Inline>
</page.header>