Issue #1066 Add a loading state on <o-button> in the create and edit event page
This commit is contained in:
parent
2dfb5a5bdf
commit
539c0f2216
|
@ -548,12 +548,14 @@
|
||||||
outlined
|
outlined
|
||||||
@click="createOrUpdateDraft"
|
@click="createOrUpdateDraft"
|
||||||
:disabled="saving"
|
:disabled="saving"
|
||||||
|
:loading="saving"
|
||||||
>{{ t("Save draft") }}</o-button
|
>{{ t("Save draft") }}</o-button
|
||||||
>
|
>
|
||||||
<o-button
|
<o-button
|
||||||
expanded
|
expanded
|
||||||
variant="primary"
|
variant="primary"
|
||||||
:disabled="saving"
|
:disabled="saving"
|
||||||
|
:loading="saving"
|
||||||
@click="createOrUpdatePublish"
|
@click="createOrUpdatePublish"
|
||||||
@keyup.enter="createOrUpdatePublish"
|
@keyup.enter="createOrUpdatePublish"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue