Added back button for delete modal

This commit is contained in:
Alexis
2024-06-09 11:37:30 +02:00
parent 8d19f0aca2
commit f4ad06d744
2 changed files with 18 additions and 12 deletions

View File

@@ -86,7 +86,12 @@ function handleCancel() {
</div> </div>
</div> </div>
<footer class="flex gap-2 justify-end"> <footer class="flex gap-2 justify-between">
<UiButton type="button" size="sm" variant="ghost" @click="() => isDeleteEventModalOpen = false">
Retour
</UiButton>
<div class="flex gap-2 justify-end">
<Transition name="fade-delay"> <Transition name="fade-delay">
<UiButton v-if="isLoading" type="button" size="sm" variant="destructive" @click.prevent="handleCancel"> <UiButton v-if="isLoading" type="button" size="sm" variant="destructive" @click.prevent="handleCancel">
Annuler Annuler
@@ -100,6 +105,7 @@ function handleCancel() {
Supprimer Supprimer
</UiButton> </UiButton>
</div>
</footer> </footer>
</form> </form>
</UiAlertDialogContent> </UiAlertDialogContent>

View File

@@ -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 }',