mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 08:17:33 +00:00
fix: update
This commit is contained in:
parent
ef33e2cdd3
commit
b9cda372de
@ -117,13 +117,6 @@ export default function associateProcessor(props: any) {
|
||||
item.metricValue = value;
|
||||
return item;
|
||||
}
|
||||
function removeAssociationFilters(config: LayoutConfig) {
|
||||
const dashboardStore = useDashboardStore();
|
||||
if (!config.filters) {
|
||||
return;
|
||||
}
|
||||
delete config.filters;
|
||||
dashboardStore.setWidget(config);
|
||||
}
|
||||
return { eventAssociate, traceFilters, removeAssociationFilters };
|
||||
|
||||
return { eventAssociate, traceFilters };
|
||||
}
|
||||
|
@ -320,7 +320,9 @@ limitations under the License. -->
|
||||
}
|
||||
onUnmounted(() => {
|
||||
logStore.resetState();
|
||||
removeAssociationFilters(props.data);
|
||||
const config = props.data;
|
||||
delete config.filters;
|
||||
dashboardStore.setWidget(config);
|
||||
});
|
||||
watch(
|
||||
() => selectorStore.currentService,
|
||||
|
@ -246,7 +246,9 @@ limitations under the License. -->
|
||||
}
|
||||
onUnmounted(() => {
|
||||
traceStore.resetState();
|
||||
removeAssociationFilters(props.data);
|
||||
const config = props.data;
|
||||
delete config.filters;
|
||||
dashboardStore.setWidget(config);
|
||||
});
|
||||
watch(
|
||||
() => [selectorStore.currentPod],
|
||||
|
@ -230,7 +230,9 @@ limitations under the License. -->
|
||||
}
|
||||
onUnmounted(() => {
|
||||
traceStore.resetState();
|
||||
removeAssociationFilters(props.data);
|
||||
const config = props.data;
|
||||
delete config.filters;
|
||||
dashboardStore.setWidget(config);
|
||||
});
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
Loading…
Reference in New Issue
Block a user