DEV: enforces ember-template-lint: simple-unless (#9146)

This commit is contained in:
Joffrey JAFFEUX
2020-03-09 13:44:34 +01:00
committed by GitHub
parent 0e752db411
commit 4f37233208
8 changed files with 60 additions and 59 deletions

View File

@@ -7,7 +7,11 @@
}}
{{#select-kit/select-kit-body selectKit=selectKit}}
{{#unless selectKit.isLoading}}
{{#if selectKit.isLoading}}
<span class="is-loading">
{{loading-spinner size="small"}}
</span>
{{else}}
{{#if selectKit.filter}}
{{#if selectKit.hasNoContent}}
<span class="no-content">
@@ -23,11 +27,7 @@
value=value
}}
{{/each}}
{{else}}
<span class="is-loading">
{{loading-spinner size="small"}}
</span>
{{/unless}}
{{/if}}
{{/select-kit/select-kit-body}}
<div class="select-kit-wrapper"></div>

View File

@@ -9,7 +9,13 @@
{{#select-kit/select-kit-body selectKit=selectKit}}
{{component selectKit.options.filterComponent selectKit=selectKit}}
{{#unless selectKit.isLoading}}
{{#if selectKit.isLoading}}
<span class="is-loading">
{{#if site}}
{{loading-spinner size="small"}}
{{/if}}
</span>
{{else}}
{{#if selectKit.filter}}
{{#if selectKit.hasNoContent}}
<span class="no-content">
@@ -25,13 +31,7 @@
value=value
}}
{{/each}}
{{else}}
<span class="is-loading">
{{#if site}}
{{loading-spinner size="small"}}
{{/if}}
</span>
{{/unless}}
{{/if}}
{{/select-kit/select-kit-body}}
<div class="select-kit-wrapper"></div>