Added back button for delete modal
This commit is contained in:
@@ -86,20 +86,26 @@ function handleCancel() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer class="flex gap-2 justify-end">
|
<footer class="flex gap-2 justify-between">
|
||||||
<Transition name="fade-delay">
|
<UiButton type="button" size="sm" variant="ghost" @click="() => isDeleteEventModalOpen = false">
|
||||||
<UiButton v-if="isLoading" type="button" size="sm" variant="destructive" @click.prevent="handleCancel">
|
Retour
|
||||||
Annuler
|
</UiButton>
|
||||||
</UiButton>
|
|
||||||
</Transition>
|
|
||||||
|
|
||||||
<UiButton size="sm" variant="destructive" :disabled="isLoading">
|
<div class="flex gap-2 justify-end">
|
||||||
<Transition name="fade">
|
<Transition name="fade-delay">
|
||||||
<PhCircleNotch v-if="isLoading" size="20" class="animate-spin"/>
|
<UiButton v-if="isLoading" type="button" size="sm" variant="destructive" @click.prevent="handleCancel">
|
||||||
|
Annuler
|
||||||
|
</UiButton>
|
||||||
</Transition>
|
</Transition>
|
||||||
|
|
||||||
Supprimer
|
<UiButton size="sm" variant="destructive" :disabled="isLoading">
|
||||||
</UiButton>
|
<Transition name="fade">
|
||||||
|
<PhCircleNotch v-if="isLoading" size="20" class="animate-spin"/>
|
||||||
|
</Transition>
|
||||||
|
|
||||||
|
Supprimer
|
||||||
|
</UiButton>
|
||||||
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</form>
|
</form>
|
||||||
</UiAlertDialogContent>
|
</UiAlertDialogContent>
|
||||||
|
|||||||
@@ -294,7 +294,7 @@ insert into public.calendar_events (title, description, location, start_date, en
|
|||||||
1
|
1
|
||||||
);
|
);
|
||||||
insert into public.calendar_events (title, description, location, start_date, end_date, category, hidden, wiki, calendar_id) values (
|
insert into public.calendar_events (title, description, location, start_date, end_date, category, hidden, wiki, calendar_id) values (
|
||||||
'Grande Banque Minérale',
|
'Grande Bourse Minérale',
|
||||||
'Les artisans et mineurs de Rougefer se réunissent pour vendre le fruit de leur dur labeur.',
|
'Les artisans et mineurs de Rougefer se réunissent pour vendre le fruit de leur dur labeur.',
|
||||||
'Cantane',
|
'Cantane',
|
||||||
'{ "day": 23, "month": 8, "year": 3209 }',
|
'{ "day": 23, "month": 8, "year": 3209 }',
|
||||||
|
|||||||
Reference in New Issue
Block a user