mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 14:55:25 +00:00
update config
This commit is contained in:
parent
f03b6d9cab
commit
c83cbd184e
@ -369,6 +369,10 @@ function deleteMetric(index: number) {
|
|||||||
if (states.metrics.length === 1) {
|
if (states.metrics.length === 1) {
|
||||||
states.metrics = [""];
|
states.metrics = [""];
|
||||||
states.metricTypes = [""];
|
states.metricTypes = [""];
|
||||||
|
dashboardStore.selectWidget({
|
||||||
|
...dashboardStore.selectedGrid,
|
||||||
|
...{ metricTypes: states.metricTypes, metrics: states.metrics },
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
states.metrics.splice(index, 1);
|
states.metrics.splice(index, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user