mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-02 08:43:59 +00:00
fix: clear trace ID on the Log and Trace widgets after using association (#225)
This commit is contained in:
parent
4486684183
commit
c73322a504
@ -115,5 +115,6 @@ export default function associateProcessor(props: any) {
|
||||
item.metricValue = value;
|
||||
return item;
|
||||
}
|
||||
|
||||
return { eventAssociate, traceFilters };
|
||||
}
|
||||
|
@ -319,6 +319,9 @@ limitations under the License. -->
|
||||
}
|
||||
onUnmounted(() => {
|
||||
logStore.resetState();
|
||||
const config = props.data;
|
||||
delete config.filters;
|
||||
dashboardStore.setWidget(config);
|
||||
});
|
||||
watch(
|
||||
() => selectorStore.currentService,
|
||||
|
@ -245,6 +245,9 @@ limitations under the License. -->
|
||||
}
|
||||
onUnmounted(() => {
|
||||
traceStore.resetState();
|
||||
const config = props.data;
|
||||
delete config.filters;
|
||||
dashboardStore.setWidget(config);
|
||||
});
|
||||
watch(
|
||||
() => [selectorStore.currentPod],
|
||||
|
@ -229,6 +229,9 @@ limitations under the License. -->
|
||||
}
|
||||
onUnmounted(() => {
|
||||
traceStore.resetState();
|
||||
const config = props.data;
|
||||
delete config.filters;
|
||||
dashboardStore.setWidget(config);
|
||||
});
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
Loading…
Reference in New Issue
Block a user