DEV: Remove redundant braces (#23321)

This commit is contained in:
Jarek Radosz 2023-08-30 10:37:03 +02:00 committed by GitHub
parent 2965519c76
commit f6cd8e5968
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 10 deletions

View File

@ -1,5 +1,5 @@
<DButton
@class={{"bulk-select"}}
class="bulk-select"
@action={{action "toggleBulkSelect"}}
@icon={{"list"}}
@icon="list"
/>

View File

@ -17,7 +17,7 @@
<div class="navigation-controls">
{{#if (and this.notCategoriesRoute this.site.mobileView this.canBulk)}}
<BulkSelectToggle @parentController={{"discovery/topics"}} @tagName="" />
<BulkSelectToggle @parentController="discovery/topics" @tagName="" />
{{/if}}
{{#if this.showCategoryAdmin}}

View File

@ -163,7 +163,7 @@
@topic={{@model}}
@showFullTitle={{false}}
@appendReason={{false}}
@placement={{"bottom-end"}}
@placement="bottom-end"
@showCaret={{false}}
/>
{{#if @mobileView}}

View File

@ -161,7 +161,7 @@
<TogglePasswordMask
@maskPassword={{this.maskPassword}}
@togglePasswordMask={{this.togglePasswordMask}}
@parentController={{"invites-show"}}
@parentController="invites-show"
/>
</div>
</div>

View File

@ -25,10 +25,7 @@
<div class="navigation-controls">
{{#if this.site.mobileView}}
{{#if this.currentUser.admin}}
<BulkSelectToggle
@parentController={{"user-topics-list"}}
@tagName=""
/>
<BulkSelectToggle @parentController="user-topics-list" @tagName="" />
{{/if}}
{{/if}}

View File

@ -2,7 +2,7 @@
<DButton
@icon="discourse-expand"
class="btn-flat btn-link chat-drawer-header__full-screen-btn"
@title={{"chat.open_full_page"}}
@title="chat.open_full_page"
@action={{@openInFullPage}}
/>
{{/if}}