From a84c20f2cedc2f5acc44cf5f624e25113e03b966 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 20 Jun 2024 08:33:29 +0200 Subject: [PATCH] refactor: refs #6896 changes requested in PR --- src/boot/quasar.js | 7 ------- src/pages/Order/OrderLines.vue | 3 +-- src/stores/useImagesStore.js | 12 ------------ 3 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 src/stores/useImagesStore.js diff --git a/src/boot/quasar.js b/src/boot/quasar.js index b4d1044cf..a8d9b7ad9 100644 --- a/src/boot/quasar.js +++ b/src/boot/quasar.js @@ -3,11 +3,4 @@ import qFormMixin from './qformMixin'; export default boot(({ app }) => { app.mixin(qFormMixin); - app.config.globalProperties.$emitEvent = function (eventName, payload) { - app._instance?.emit(eventName, payload); - }; - - app.config.globalProperties.$onEvent = function (eventName, callback) { - app._instance?.on(eventName, callback); - }; }); diff --git a/src/pages/Order/OrderLines.vue b/src/pages/Order/OrderLines.vue index e622a9d18..6758fb170 100644 --- a/src/pages/Order/OrderLines.vue +++ b/src/pages/Order/OrderLines.vue @@ -216,8 +216,7 @@ const detailsColumns = ref([