add modal titles
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user