replaced missing topology

This commit is contained in:
Peter Olu 2022-05-12 11:46:46 +01:00
parent a590b33cda
commit 08ecb7b491

View File

@ -37,6 +37,7 @@ interface DashboardState {
activedGridItem: string;
durationTime: Duration;
selectorStore: any;
showTopology: boolean;
fullView: boolean;
currentTabItems: LayoutConfig[];
showTraceTools: boolean;
@ -57,6 +58,7 @@ export const dashboardStore = defineStore({
activedGridItem: "",
durationTime: useAppStoreWithOut().durationTime,
selectorStore: useSelectorStore(),
showTopology: false,
showLogTools: false,
showTraceTools: false,
fullView: false,
@ -268,6 +270,9 @@ export const dashboardStore = defineStore({
setLogTools(show: boolean) {
this.showLogTools = show;
},
setTopology(show: boolean) {
this.showTopology = show;
},
setConfigs(param: { [key: string]: unknown }) {
const actived = this.activedGridItem.split("-");
const index = this.layout.findIndex(