From 2eaa184fe07eca77823cf47d509a3f04c3bdf576 Mon Sep 17 00:00:00 2001 From: carlossa Date: Wed, 10 Apr 2024 13:20:56 +0200 Subject: [PATCH] refs #6111 fix trad remove logs --- src/components/common/TableVisibleColumns.vue | 4 -- src/pages/Route/RouteList.vue | 40 +++++++------------ 2 files changed, 15 insertions(+), 29 deletions(-) diff --git a/src/components/common/TableVisibleColumns.vue b/src/components/common/TableVisibleColumns.vue index 56d0b08df..7aa696a07 100644 --- a/src/components/common/TableVisibleColumns.vue +++ b/src/components/common/TableVisibleColumns.vue @@ -43,7 +43,6 @@ const setUserConfigViewData = (data) => { name: col, active: data[col] == undefined ? true : data[col], })); - console.log('formattedCols: ', formattedCols.value); emitSavedConfig(); }; @@ -64,7 +63,6 @@ const fetchViewConfigData = async () => { where: { tableCode: $props.tableCode, userFk: user.id }, }; const userConfig = await getConfig('UserConfigViews', userConfigFilter); - console.log('userConfig: ', userConfig); if (userConfig) { initialUserConfigViewData.value = userConfig; @@ -74,7 +72,6 @@ const fetchViewConfigData = async () => { const defaultConfigFilter = { where: { tableCode: $props.tableCode } }; const defaultConfig = await getConfig('DefaultViewConfigs', defaultConfigFilter); - console.log('defaultConfig: ', defaultConfig); if (defaultConfig) { setUserConfigViewData(defaultConfig.columns); @@ -134,7 +131,6 @@ const emitSavedConfig = () => { const activeColumns = formattedCols.value .filter((col) => col.active) .map((col) => col.name); - console.log('activeColumns: ', activeColumns); emit('onConfigSaved', activeColumns); }; diff --git a/src/pages/Route/RouteList.vue b/src/pages/Route/RouteList.vue index 2bb66df53..6196ff398 100644 --- a/src/pages/Route/RouteList.vue +++ b/src/pages/Route/RouteList.vue @@ -20,7 +20,6 @@ import { useSession } from 'composables/useSession'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; import RouteListTicketsDialog from 'pages/Route/Card/RouteListTicketsDialog.vue'; import { useQuasar } from 'quasar'; -import { useRouter } from 'vue-router'; import { useArrayData } from 'composables/useArrayData'; const stateStore = useStateStore(); @@ -385,27 +384,6 @@ onUnmounted(() => (stateStore.rightDrawer = false)); hide-pagination :no-data-label="t('globals.noResults')" > -