Issue #1066 Add a loading state on <o-button> in the create and edit event page

This commit is contained in:
Massedil 2024-11-13 18:15:58 +01:00 committed by setop
parent 2dfb5a5bdf
commit 539c0f2216

View file

@ -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"
> >