DEV: Clean up extraneous helper parens (#23186)
This commit is contained in:
parent
2d8a38f883
commit
fd8fdb060f
|
@ -8,7 +8,7 @@
|
|||
{{! template-lint-disable no-pointer-down-event-binding }}
|
||||
{{! template-lint-disable no-invalid-interactive }}
|
||||
<li class="item" {{on "keydown" this.onKeydown}}>
|
||||
<a href={{(or result.url result.path)}} class="search-link">
|
||||
<a href={{or result.url result.path}} class="search-link">
|
||||
<resultType.component @result={{result}} />
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -3,9 +3,10 @@
|
|||
@title="sidebar.categories_form_modal.title"
|
||||
@disableSaveButton={{this.saving}}
|
||||
@save={{this.save}}
|
||||
@showResetDefaultsButton={{(gt
|
||||
this.siteSettings.default_navigation_menu_categories.length 0
|
||||
)}}
|
||||
@showResetDefaultsButton={{gt
|
||||
this.siteSettings.default_navigation_menu_categories.length
|
||||
0
|
||||
}}
|
||||
@resetToDefaults={{this.resetToDefaults}}
|
||||
@deselectAll={{this.deselectAll}}
|
||||
@deselectAllText={{i18n "sidebar.categories_form_modal.subtitle.text"}}
|
||||
|
@ -55,9 +56,9 @@
|
|||
this.selectedSidebarCategoryIds
|
||||
category.id
|
||||
}}
|
||||
disabled={{(not
|
||||
disabled={{not
|
||||
(includes this.filteredCategoryIds category.id)
|
||||
)}}
|
||||
}}
|
||||
{{on "click" (action "toggleCategory" category.id)}}
|
||||
/>
|
||||
</label>
|
||||
|
|
|
@ -3,9 +3,10 @@
|
|||
@title="sidebar.tags_form_modal.title"
|
||||
@saving={{this.saving}}
|
||||
@save={{this.save}}
|
||||
@showResetDefaultsButton={{(gt
|
||||
this.siteSettings.default_navigation_menu_tags.length 0
|
||||
)}}
|
||||
@showResetDefaultsButton={{gt
|
||||
this.siteSettings.default_navigation_menu_tags.length
|
||||
0
|
||||
}}
|
||||
@resetToDefaults={{this.resetToDefaults}}
|
||||
@deselectAll={{this.deselectAll}}
|
||||
@deselectAllText={{i18n "sidebar.tags_form_modal.subtitle.text"}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="user-stream-item__header info">
|
||||
<a
|
||||
href={{this.userUrl}}
|
||||
data-user-card={{(or @item.draft_username @item.username)}}
|
||||
data-user-card={{or @item.draft_username @item.username}}
|
||||
class="avatar-link"
|
||||
>
|
||||
<div class="avatar-wrapper">
|
||||
|
|
Loading…
Reference in New Issue