mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-03 13:25:24 +00:00
replaced missing topology
This commit is contained in:
parent
a590b33cda
commit
08ecb7b491
@ -37,6 +37,7 @@ interface DashboardState {
|
|||||||
activedGridItem: string;
|
activedGridItem: string;
|
||||||
durationTime: Duration;
|
durationTime: Duration;
|
||||||
selectorStore: any;
|
selectorStore: any;
|
||||||
|
showTopology: boolean;
|
||||||
fullView: boolean;
|
fullView: boolean;
|
||||||
currentTabItems: LayoutConfig[];
|
currentTabItems: LayoutConfig[];
|
||||||
showTraceTools: boolean;
|
showTraceTools: boolean;
|
||||||
@ -57,6 +58,7 @@ export const dashboardStore = defineStore({
|
|||||||
activedGridItem: "",
|
activedGridItem: "",
|
||||||
durationTime: useAppStoreWithOut().durationTime,
|
durationTime: useAppStoreWithOut().durationTime,
|
||||||
selectorStore: useSelectorStore(),
|
selectorStore: useSelectorStore(),
|
||||||
|
showTopology: false,
|
||||||
showLogTools: false,
|
showLogTools: false,
|
||||||
showTraceTools: false,
|
showTraceTools: false,
|
||||||
fullView: false,
|
fullView: false,
|
||||||
@ -268,6 +270,9 @@ export const dashboardStore = defineStore({
|
|||||||
setLogTools(show: boolean) {
|
setLogTools(show: boolean) {
|
||||||
this.showLogTools = show;
|
this.showLogTools = show;
|
||||||
},
|
},
|
||||||
|
setTopology(show: boolean) {
|
||||||
|
this.showTopology = show;
|
||||||
|
},
|
||||||
setConfigs(param: { [key: string]: unknown }) {
|
setConfigs(param: { [key: string]: unknown }) {
|
||||||
const actived = this.activedGridItem.split("-");
|
const actived = this.activedGridItem.split("-");
|
||||||
const index = this.layout.findIndex(
|
const index = this.layout.findIndex(
|
||||||
|
Loading…
Reference in New Issue
Block a user