mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 16:27:33 +00:00
fix
This commit is contained in:
parent
bfc30e86fe
commit
55107ecbe4
@ -152,6 +152,10 @@ export const networkProfilingStore = defineStore({
|
|||||||
this.networkTasks = res.data.data.queryEBPFTasks || [];
|
this.networkTasks = res.data.data.queryEBPFTasks || [];
|
||||||
this.selectedNetworkTask = this.networkTasks[0] || {};
|
this.selectedNetworkTask = this.networkTasks[0] || {};
|
||||||
this.setSelectedNetworkTask(this.selectedNetworkTask);
|
this.setSelectedNetworkTask(this.selectedNetworkTask);
|
||||||
|
if (!this.networkTasks.length) {
|
||||||
|
this.nodes = [];
|
||||||
|
this.calls = [];
|
||||||
|
}
|
||||||
return res.data;
|
return res.data;
|
||||||
},
|
},
|
||||||
async keepNetworkProfiling(taskId: string) {
|
async keepNetworkProfiling(taskId: string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user