mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 04:35:23 +00:00
fix name
This commit is contained in:
parent
37aab6f41f
commit
169047c59e
@ -398,7 +398,7 @@ function deleteItem(index: number) {
|
||||
items.splice(index, 1);
|
||||
updateSettings();
|
||||
}
|
||||
function updateSettings(config?: { [key: string]: MetricConfigOpt[] }) {
|
||||
function updateSettings(metricConfig?: { [key: string]: MetricConfigOpt[] }) {
|
||||
const metrics = legend.metric.filter(
|
||||
(d: any) => d.name && d.value && d.condition
|
||||
);
|
||||
@ -412,7 +412,7 @@ function updateSettings(config?: { [key: string]: MetricConfigOpt[] }) {
|
||||
linkClientMetrics: states.linkClientMetrics,
|
||||
nodeMetrics: states.nodeMetrics,
|
||||
legend: metrics,
|
||||
...config,
|
||||
...metricConfig,
|
||||
};
|
||||
dashboardStore.selectWidget(param);
|
||||
dashboardStore.setConfigs(param);
|
||||
|
Loading…
Reference in New Issue
Block a user