Added ArchiveButton.vue

This commit is contained in:
2025-09-24 19:43:04 +02:00
parent 4a05bd5bc3
commit dd2bf7a8ff
6 changed files with 92 additions and 53 deletions

View File

@@ -188,19 +188,12 @@ const moveFile = async () => {
</div>
<div class="w-2/3 p-5">
<UButtonGroup>
<ButtonWithConfirm
<ArchiveButton
color="rose"
variant="outline"
type="files"
@confirmed="archiveDocument"
>
<template #button>
Archivieren
</template>
<template #header>
<span class="text-md text-black font-bold">Archivieren bestätigen</span>
</template>
Möchten Sie die Datei wirklich archivieren?
</ButtonWithConfirm>
/>
<UButton
:to="props.documentData.url"