From 4b8ae76132d2342f40cec703b3d5145ea075c451 Mon Sep 17 00:00:00 2001
From: vnugent <public@vaughnnugent.com>
Date: Wed, 13 Dec 2023 17:58:51 -0500
Subject: log time coming ui and lib updates

---
 front-end/src/bootstrap/components/ConfirmPrompt.vue | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'front-end/src/bootstrap/components/ConfirmPrompt.vue')

diff --git a/front-end/src/bootstrap/components/ConfirmPrompt.vue b/front-end/src/bootstrap/components/ConfirmPrompt.vue
index 78317e0..c67bcfc 100644
--- a/front-end/src/bootstrap/components/ConfirmPrompt.vue
+++ b/front-end/src/bootstrap/components/ConfirmPrompt.vue
@@ -5,7 +5,7 @@
       <div class="modal-content-container">
         <DialogPanel>
           <DialogTitle class="modal-title">
-            {{ title }}
+            {{ message.title ?? 'Confirm' }}
           </DialogTitle>
 
           <DialogDescription class="modal-description">
@@ -55,9 +55,7 @@ const message = ref({})
 onClickOutside(dialog, () => isRevealed.value ? cancel() : null)
 
 //Set message on reveal
-onReveal(m => message.value = m);
-
-const title = computed(() => defaultTo(message.value.title, 'Confirm'))
+onReveal(m => message.value = defaultTo(m, {}));
 
 const style = computed(() => {
   return {
-- 
cgit 

