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 <DButton
@class={{"bulk-select"}} class="bulk-select"
@action={{action "toggleBulkSelect"}} @action={{action "toggleBulkSelect"}}
@icon={{"list"}} @icon="list"
/> />

View File

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

View File

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

View File

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

View File

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

View File

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