mirror of
https://github.com/discourse/discourse.git
synced 2025-01-06 15:24:04 +08:00
DEV: Allow adding classes to ConditionalLoadingSpinner (#30386)
This commit is contained in:
parent
380910aedd
commit
a70e7a5cdd
|
@ -15,6 +15,7 @@ const ConditionalLoadingSpinner = <template>
|
||||||
(if @condition "visible")
|
(if @condition "visible")
|
||||||
(if (eq @size "small") "inline-spinner")
|
(if (eq @size "small") "inline-spinner")
|
||||||
}}
|
}}
|
||||||
|
...attributes
|
||||||
>
|
>
|
||||||
{{#if @condition}}
|
{{#if @condition}}
|
||||||
<div class="spinner {{@size}}"></div>
|
<div class="spinner {{@size}}"></div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user