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();