From 12c2e36516f40b67f9c84fcde0a6ff964bf1aab6 Mon Sep 17 00:00:00 2001 From: Peter Olu Date: Tue, 10 May 2022 19:39:01 +0100 Subject: [PATCH] Added other log tools --- src/store/modules/dashboard.ts | 5 --- src/views/dashboard/controls/Log.vue | 14 +++---- src/views/dashboard/controls/Tab.vue | 9 +--- src/views/dashboard/related/log/Header.vue | 49 ++++++++++++---------- 4 files changed, 35 insertions(+), 42 deletions(-) diff --git a/src/store/modules/dashboard.ts b/src/store/modules/dashboard.ts index 44f9b916..2c19e448 100644 --- a/src/store/modules/dashboard.ts +++ b/src/store/modules/dashboard.ts @@ -39,7 +39,6 @@ interface DashboardState { selectorStore: any; fullView: boolean; currentTabItems: LayoutConfig[]; - currentTabName: string; // TODO: remove before commit showTraceTools: boolean; showLogTools: boolean; dashboards: DashboardItem[]; @@ -62,7 +61,6 @@ export const dashboardStore = defineStore({ showTraceTools: false, fullView: false, currentTabItems: [], - currentTabName: '', dashboards: [], currentDashboard: null, editMode: false, @@ -214,9 +212,6 @@ export const dashboardStore = defineStore({ setCurrentTabItems(items: LayoutConfig[]) { this.currentTabItems = items; }, - setCurrentTabType(name: string) { - this.currentTabName = name - }, removeTab(item: LayoutConfig) { if (this.selectedGrid && this.selectedGrid.i === item.i) { this.selectedGrid = null; diff --git a/src/views/dashboard/controls/Log.vue b/src/views/dashboard/controls/Log.vue index fe7b5bf4..6bc13cad 100644 --- a/src/views/dashboard/controls/Log.vue +++ b/src/views/dashboard/controls/Log.vue @@ -29,19 +29,17 @@ limitations under the License. --> {{ t("delete") }} -
- -
+