mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 21:33:02 +01:00
16 lines
449 B
Vue
16 lines
449 B
Vue
<template>
|
|
<BaseModal v-model="isRevealed" readonly @cancel="cancel(false)">
|
|
<template #title> {{ $t("global.confirm") }} </template>
|
|
<div>
|
|
<p>{{ text }}</p>
|
|
</div>
|
|
<div class="modal-action">
|
|
<BaseButton type="submit" @click="confirm(true)"> {{ $t("global.confirm") }} </BaseButton>
|
|
</div>
|
|
</BaseModal>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const { text, isRevealed, confirm, cancel } = useConfirm();
|
|
</script>
|