fix: update attached event details (#197)

This commit is contained in:
Fine0830
2022-11-30 16:48:49 +08:00
committed by GitHub
parent 221751f034
commit 611731d6d0
3 changed files with 22 additions and 4 deletions

View File

@@ -152,6 +152,10 @@ export const networkProfilingStore = defineStore({
this.networkTasks = res.data.data.queryEBPFTasks || [];
this.selectedNetworkTask = this.networkTasks[0] || {};
this.setSelectedNetworkTask(this.selectedNetworkTask);
if (!this.networkTasks.length) {
this.nodes = [];
this.calls = [];
}
return res.data;
},
async keepNetworkProfiling(taskId: string) {