fix: clear cache when we load the data (#10528)

This PR fixes the issue when user changes the stream on servicegraph it
should render the actual data from api not from cache
This commit is contained in:
Sai Nikhil
2026-02-16 12:48:28 +05:30
committed by GitHub
parent d573d01a62
commit 7f5215744d
2 changed files with 1598 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+4
View File
@@ -499,6 +499,10 @@ export default defineComponent({
loading.value = true;
error.value = null;
// Clear cache to force chart regeneration with fresh data
lastChartOptions.value = null;
chartKey.value++;
try {
const orgId = store.state.selectedOrganization.identifier;