From 2ea6fd2ea6b955ba531aa2adeefe30d1e6087690 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 19 Mar 2024 13:50:15 -0300 Subject: [PATCH] Change vnconfirm export name --- src/composables/useVnConfirm.js | 2 +- src/pages/InvoiceOut/Card/InvoiceOutDescriptorMenu.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/composables/useVnConfirm.js b/src/composables/useVnConfirm.js index 430a290be..76c3f4f28 100644 --- a/src/composables/useVnConfirm.js +++ b/src/composables/useVnConfirm.js @@ -1,7 +1,7 @@ import VnConfirm from 'components/ui/VnConfirm.vue'; import { useQuasar } from 'quasar'; -export function useSummaryDialog() { +export function useVnConfirm() { const quasar = useQuasar(); const openConfirmationModal = (title, message, promise, successFn) => { diff --git a/src/pages/InvoiceOut/Card/InvoiceOutDescriptorMenu.vue b/src/pages/InvoiceOut/Card/InvoiceOutDescriptorMenu.vue index fc84c042b..10af631bc 100644 --- a/src/pages/InvoiceOut/Card/InvoiceOutDescriptorMenu.vue +++ b/src/pages/InvoiceOut/Card/InvoiceOutDescriptorMenu.vue @@ -10,7 +10,7 @@ import SendEmailDialog from 'components/common/SendEmailDialog.vue'; import useNotify from 'src/composables/useNotify'; import { useSession } from 'src/composables/useSession'; import { usePrintService } from 'composables/usePrintService'; -import { useSummaryDialog } from 'composables/useVnConfirm'; +import { useVnConfirm } from 'composables/useVnConfirm'; import axios from 'axios'; const $props = defineProps({ @@ -26,7 +26,7 @@ const session = useSession(); const token = session.getToken(); const { t } = useI18n(); const { openReport, sendEmail } = usePrintService(); -const { openConfirmationModal } = useSummaryDialog(); +const { openConfirmationModal } = useVnConfirm(); const quasar = useQuasar(); const transferInvoiceDialogRef = ref();