mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-02 06:04:01 +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;
|
item.metricValue = value;
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
return { eventAssociate, traceFilters };
|
return { eventAssociate, traceFilters };
|
||||||
}
|
}
|
||||||
|
@ -319,6 +319,9 @@ limitations under the License. -->
|
|||||||
}
|
}
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
logStore.resetState();
|
logStore.resetState();
|
||||||
|
const config = props.data;
|
||||||
|
delete config.filters;
|
||||||
|
dashboardStore.setWidget(config);
|
||||||
});
|
});
|
||||||
watch(
|
watch(
|
||||||
() => selectorStore.currentService,
|
() => selectorStore.currentService,
|
||||||
|
@ -245,6 +245,9 @@ limitations under the License. -->
|
|||||||
}
|
}
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
traceStore.resetState();
|
traceStore.resetState();
|
||||||
|
const config = props.data;
|
||||||
|
delete config.filters;
|
||||||
|
dashboardStore.setWidget(config);
|
||||||
});
|
});
|
||||||
watch(
|
watch(
|
||||||
() => [selectorStore.currentPod],
|
() => [selectorStore.currentPod],
|
||||||
|
@ -229,6 +229,9 @@ limitations under the License. -->
|
|||||||
}
|
}
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
traceStore.resetState();
|
traceStore.resetState();
|
||||||
|
const config = props.data;
|
||||||
|
delete config.filters;
|
||||||
|
dashboardStore.setWidget(config);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
Loading…
Reference in New Issue
Block a user