From fe4e27fcfdf57e7eb8c03472f84c9e404cfe58ef Mon Sep 17 00:00:00 2001 From: Peter Olu Date: Sat, 21 May 2022 17:53:00 +0100 Subject: [PATCH] removed unwanted logs --- .../related/components/LogTable/Index.vue | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/src/views/dashboard/related/components/LogTable/Index.vue b/src/views/dashboard/related/components/LogTable/Index.vue index 29e62776..c47a665a 100644 --- a/src/views/dashboard/related/components/LogTable/Index.vue +++ b/src/views/dashboard/related/components/LogTable/Index.vue @@ -29,12 +29,7 @@ limitations under the License. --> {{ t(item.value) }} -
+
{{ t(item.value) }}
@@ -76,7 +71,7 @@ import { useI18n } from "vue-i18n"; import LogBrowser from "./LogBrowser.vue"; import LogService from "./LogService.vue"; import LogDetail from "./LogDetail.vue"; -import { logStore } from '@/store/modules/log' +import { logStore } from "@/store/modules/log"; /*global defineProps, Nullable */ const props = defineProps({ @@ -84,7 +79,7 @@ const props = defineProps({ tableData: { type: Array, default: () => [] }, noLink: { type: Boolean, default: true }, }); -const useLogStore = logStore() +const useLogStore = logStore(); const { t } = useI18n(); const currentLog = ref({}); const showDetail = ref(false); @@ -98,18 +93,10 @@ const columns = ref( ); // const portalVisibleDefaultCols:string[] = ['Service', 'Instance','Content'] -const visibleColumns = computed(() => - columns.value.filter((column) => column.isVisible) -); - function setCurrentLog(log: any) { showDetail.value = true; currentLog.value = log; } -function logColumn(item: any, index: number) { - console.log(index, item, visibleColumns.value[index]); - columns.value[index].isVisible = false; -}