diff --git a/components/ButtonWithConfirm.vue b/components/ButtonWithConfirm.vue index fb17fb5..fe10c44 100644 --- a/components/ButtonWithConfirm.vue +++ b/components/ButtonWithConfirm.vue @@ -18,6 +18,7 @@ const {color,variant} = props const showModal = ref(false) const emitConfirm = () => { + showModal.value = false emit('confirmed') } @@ -38,19 +39,22 @@ const emitConfirm = () => { diff --git a/components/DocumentDisplay.vue b/components/DocumentDisplay.vue index cdb2702..d88a3ba 100644 --- a/components/DocumentDisplay.vue +++ b/components/DocumentDisplay.vue @@ -1,8 +1,11 @@