diff options
author | vnugent <public@vaughnnugent.com> | 2023-12-13 17:58:51 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-12-13 17:58:51 -0500 |
commit | 4b8ae76132d2342f40cec703b3d5145ea075c451 (patch) | |
tree | 62b942b6181261566cd3245ee35cd15a138aabf2 /front-end/src/bootstrap/components/ConfirmPrompt.vue | |
parent | b564708f29cf8a709c3e3d981477b2ec8440673e (diff) |
log time coming ui and lib updates
Diffstat (limited to 'front-end/src/bootstrap/components/ConfirmPrompt.vue')
-rw-r--r-- | front-end/src/bootstrap/components/ConfirmPrompt.vue | 6 |
1 files changed, 2 insertions, 4 deletions
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 { |