diff --git a/src/views/dashboard/related/async-profiling/components/TaskList.vue b/src/views/dashboard/related/async-profiling/components/TaskList.vue index 7f83b625..1f29d65f 100644 --- a/src/views/dashboard/related/async-profiling/components/TaskList.vue +++ b/src/views/dashboard/related/async-profiling/components/TaskList.vue @@ -157,6 +157,9 @@ limitations under the License. --> } async function changeTask(item: TaskListItem) { + if (item.id === asyncProfilingStore.selectedTask.id) { + return; + } asyncProfilingStore.setSelectedTask(item); asyncProfilingStore.setAnalyzeTrees([]); service.value = (selectorStore.services.filter((s: Service) => s.id === item.serviceId)[0] ?? {}).label;