mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
UX: Center loading spinner for editing nav menu tags modal (#23786)
This commit is contained in:
parent
fbf92a2212
commit
790f6b1121
@ -17,10 +17,10 @@
|
|||||||
@filterUnselected={{this.filterUnselected}}
|
@filterUnselected={{this.filterUnselected}}
|
||||||
@closeModal={{@closeModal}}
|
@closeModal={{@closeModal}}
|
||||||
>
|
>
|
||||||
<form class="sidebar-tags-form">
|
|
||||||
{{#if this.tagsLoading}}
|
{{#if this.tagsLoading}}
|
||||||
<div class="spinner"></div>
|
{{loading-spinner size="large"}}
|
||||||
{{else}}
|
{{else}}
|
||||||
|
<form class="sidebar-tags-form">
|
||||||
{{#if (gt this.tags.length 0)}}
|
{{#if (gt this.tags.length 0)}}
|
||||||
{{#each this.tags as |tag|}}
|
{{#each this.tags as |tag|}}
|
||||||
<div
|
<div
|
||||||
@ -57,8 +57,8 @@
|
|||||||
{{i18n "sidebar.tags_form_modal.no_tags"}}
|
{{i18n "sidebar.tags_form_modal.no_tags"}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
|
||||||
</form>
|
</form>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
<ConditionalLoadingSpinner @condition={{this.tags.loadingMore}} />
|
<ConditionalLoadingSpinner @condition={{this.tags.loadingMore}} />
|
||||||
</Sidebar::EditNavigationMenu::Modal>
|
</Sidebar::EditNavigationMenu::Modal>
|
Loading…
x
Reference in New Issue
Block a user