Add unclosable modals (#70)

This commit is contained in:
Geometrically
2023-06-19 22:15:45 -07:00
committed by GitHub
parent 2bdd0a0e8d
commit 61e00f1620
4 changed files with 17 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
<template>
<Modal ref="modal" :header="props.title">
<Modal ref="modal" :header="props.title" :noblur="noblur">
<div class="modal-delete">
<div class="markdown-body" v-html="renderString(props.description)" />
<label v-if="props.hasToType" for="confirmation" class="confirmation-label">
@@ -61,6 +61,10 @@ const props = defineProps({
type: String,
default: 'Proceed',
},
noblur: {
type: Boolean,
default: false,
},
})
const emit = defineEmits(['proceed'])