add modal titles

This commit is contained in:
2023-05-20 15:41:37 +02:00
parent 6c4bd5b0ae
commit 1160165cf5
2 changed files with 10 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ const emit = defineEmits<{
<i class="fas fa-fw fa-trash" />
</button>
</template>
<template #title>Delete note</template>
<template #default>Are you sure you want to delete this note?</template>
<template #actions="{ close }">
<button class="btn-primary btn-sm btn" @click="emit('delete', close)">Delete note</button>
@@ -33,6 +34,7 @@ const emit = defineEmits<{
<i class="fas fa-fw fa-sitemap" />
</button>
</template>
<template #title>Set root note</template>
<template #default>Are you sure you want to set this note as root note?</template>
<template #actions="{ close }">
<button class="btn-sm btn" @click="close">Close</button>