From 5ac59840a27afcc4708b8095be0a05525489206b Mon Sep 17 00:00:00 2001 From: pablone Date: Fri, 11 Oct 2024 11:03:36 +0200 Subject: [PATCH] refactor: refs #8004 remove consoleLogs --- src/components/common/RightMenu.vue | 6 ------ src/pages/Supplier/Card/SupplierAccounts.vue | 7 +++---- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/components/common/RightMenu.vue b/src/components/common/RightMenu.vue index c56a226fe..2cd6bbd17 100644 --- a/src/components/common/RightMenu.vue +++ b/src/components/common/RightMenu.vue @@ -9,27 +9,21 @@ const hasContent = ref(false); const rightPanel = ref(null); onMounted(() => { - console.log('1-stateStore.rightDrawer: ', stateStore.rightDrawer); rightPanel.value = document.querySelector('#right-panel'); if (!rightPanel.value) return; - console.log('2-stateStore.rightDrawer: ', stateStore.rightDrawer); - // Check if there's content to display const observer = new MutationObserver(() => { hasContent.value = rightPanel.value.childNodes.length; }); - console.log('3-stateStore.rightDrawer: ', stateStore.rightDrawer); observer.observe(rightPanel.value, { subtree: true, childList: true, attributes: true, }); - console.log('4-stateStore.rightDrawer: ', stateStore.rightDrawer); if ((!slots['right-panel'] && !hasContent.value) || isMobile) stateStore.rightDrawer = false; - console.log('5-stateStore.rightDrawer: ', stateStore.rightDrawer); }); const { t } = useI18n(); diff --git a/src/pages/Supplier/Card/SupplierAccounts.vue b/src/pages/Supplier/Card/SupplierAccounts.vue index 816883f44..cbb852482 100644 --- a/src/pages/Supplier/Card/SupplierAccounts.vue +++ b/src/pages/Supplier/Card/SupplierAccounts.vue @@ -14,11 +14,10 @@ import axios from 'axios'; import useNotify from 'src/composables/useNotify.js'; import { useQuasar } from 'quasar'; -const quasar = useQuasar(); -const { notify } = useNotify(); -const route = useRoute(); const { t } = useI18n(); -console.log(route.params.id); +const { notify } = useNotify(); +const quasar = useQuasar(); +const route = useRoute(); const bankEntitiesRef = ref(null); const supplier = ref(null);