This commit is contained in:
2023-05-19 19:12:55 +02:00
parent 35b016449a
commit e802ad289c
4 changed files with 104 additions and 85 deletions

View File

@@ -23,9 +23,7 @@ const emit = defineEmits<{
</template>
<template #default>Are you sure you want to delete this note?</template>
<template #actions="{ close }">
<button class="btn-primary btn-sm btn mr-1" @click="emit('delete', close)">
Delete note
</button>
<button class="btn-primary btn-sm btn" @click="emit('delete', close)">Delete note</button>
<button class="btn-sm btn" @click="close">Close</button>
</template>
</Modal>
@@ -35,12 +33,10 @@ const emit = defineEmits<{
<i class="fas fa-fw fa-sitemap" />
</button>
</template>
<template #default>
Are you sure you want to set this note as 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>
<button class="btn-primary btn-sm btn mr-1" @click="emit('setRoot', close)">
<button class="btn-primary btn-sm btn" @click="emit('setRoot', close)">
Set current note as root
</button>
</template>