This commit is contained in:
Fine 2024-12-03 18:08:54 +08:00
parent 844591a6f9
commit f46392e1f7

View File

@ -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;