DEV: Fix `no-unnecessary-curly-parens` lint rule (#24581)

This commit is contained in:
Jarek Radosz 2023-11-28 10:35:36 +01:00 committed by GitHub
parent 103fab37e3
commit cd69891b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
<NumberField
@value={{this.value}}
@classNames="input-setting-integer"
@min={{(if this.setting.min this.setting.min null)}}
@max={{(if this.setting.max this.setting.max null)}}
@min={{if this.setting.min this.setting.min null}}
@max={{if this.setting.max this.setting.max null}}
/>
<SettingValidationMessage @message={{this.validationMessage}} />

View File

@ -45,10 +45,10 @@
{{#if this.selectInactiveMode}}
<Input
@type="checkbox"
@checked={{(or
@checked={{or
(eq this.allInactiveSelected true)
(eq this.someInactiveSelected true)
)}}
}}
class="toggle-all-inactive"
indeterminate={{this.someInactiveSelected}}
{{on "click" this.toggleAllInactive}}
@ -89,7 +89,7 @@
<DButton
class="btn btn-delete"
@action={{this.deleteConfirmation}}
@disabled={{(eq this.selectedCount 0)}}
@disabled={{eq this.selectedCount 0}}
>
{{d-icon "trash-alt"}}
Delete