mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
fix: update
This commit is contained in:
parent
d13abb8c8f
commit
4c6426109c
@ -88,8 +88,6 @@ export const dashboardStore = defineStore({
|
||||
i: index,
|
||||
id: index,
|
||||
type,
|
||||
metricTypes: [""],
|
||||
metrics: [""],
|
||||
};
|
||||
if (type === WidgetType.Tab) {
|
||||
newItem.h = 36;
|
||||
@ -163,8 +161,6 @@ export const dashboardStore = defineStore({
|
||||
i: index,
|
||||
id,
|
||||
type,
|
||||
metricTypes: [""],
|
||||
metrics: [""],
|
||||
};
|
||||
if (type === WidgetType.Topology) {
|
||||
newItem.h = 32;
|
||||
|
@ -138,13 +138,8 @@ limitations under the License. -->
|
||||
|
||||
function applyConfig() {
|
||||
dashboardStore.setConfigPanel(false);
|
||||
let p = {
|
||||
metrics: [],
|
||||
metricTypes: [],
|
||||
};
|
||||
dashboardStore.selectWidget({
|
||||
...dashboardStore.selectedGrid,
|
||||
...p,
|
||||
});
|
||||
dashboardStore.setConfigs(dashboardStore.selectedGrid);
|
||||
}
|
||||
|
@ -56,7 +56,6 @@ limitations under the License. -->
|
||||
type: Object as PropType<{
|
||||
showTableValues: boolean;
|
||||
tableHeaderCol2: string;
|
||||
metricTypes: string[];
|
||||
typesOfMQE: string[];
|
||||
}>,
|
||||
default: () => ({ showTableValues: true }),
|
||||
|
Loading…
Reference in New Issue
Block a user