diff --git a/src/store/modules/ebpf.ts b/src/store/modules/ebpf.ts
index 403cdd28..ca13914d 100644
--- a/src/store/modules/ebpf.ts
+++ b/src/store/modules/ebpf.ts
@@ -118,10 +118,9 @@ export const ebpfStore = defineStore({
this.eBPFSchedules = eBPFSchedules;
if (!eBPFSchedules.length) {
this.eBPFSchedules = [];
- this.analyzeTrees = [];
-
return res.data;
}
+ this.analyzeTrees = [];
return res.data;
},
async getEBPFAnalyze(params: {
@@ -136,13 +135,12 @@ export const ebpfStore = defineStore({
this.analyzeTrees = [];
return res.data;
}
- const { analysisEBPFResult, tip } = res.data.data;
- if (tip) {
+ const { analysisEBPFResult } = res.data.data;
+ if (!analysisEBPFResult) {
this.analyzeTrees = [];
return res.data;
}
-
- if (!analysisEBPFResult) {
+ if (analysisEBPFResult.tip) {
this.analyzeTrees = [];
return res.data;
}
diff --git a/src/views/dashboard/related/ebpf/Content.vue b/src/views/dashboard/related/ebpf/Content.vue
index aca07ef0..cd36cad2 100644
--- a/src/views/dashboard/related/ebpf/Content.vue
+++ b/src/views/dashboard/related/ebpf/Content.vue
@@ -17,7 +17,9 @@ limitations under the License. -->
@@ -36,4 +38,9 @@ import EBPFStack from "./components/EBPFStack.vue";
height: 100%;
width: calc(100% - 300px);
}
+
+.stack {
+ width: 100%;
+ overflow: auto;
+}
diff --git a/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue b/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue
index 43bce983..76287e2d 100644
--- a/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue
+++ b/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue
@@ -78,7 +78,7 @@ const labels = ref