diff --git a/src/views/dashboard/related/async-profiling/components/NewTask.vue b/src/views/dashboard/related/async-profiling/components/NewTask.vue index 8ecb6820..ca114b5e 100644 --- a/src/views/dashboard/related/async-profiling/components/NewTask.vue +++ b/src/views/dashboard/related/async-profiling/components/NewTask.vue @@ -142,7 +142,7 @@ limitations under the License. --> const params = { serviceId: selectorStore.currentService.id, serviceInstanceIds: serviceInstanceIds.value, - duration: Number(duration.value), + duration: Number(duration.value) * 60, events: asyncEvents.value, execArgs: execArgs.value, }; diff --git a/src/views/dashboard/related/async-profiling/components/TaskList.vue b/src/views/dashboard/related/async-profiling/components/TaskList.vue index ccf06102..4029168a 100644 --- a/src/views/dashboard/related/async-profiling/components/TaskList.vue +++ b/src/views/dashboard/related/async-profiling/components/TaskList.vue @@ -67,7 +67,7 @@ limitations under the License. -->
{{ t("duration") }}: - {{ asyncProfilingStore.selectedTask.duration }} + {{ asyncProfilingStore.selectedTask.duration / 60 }}min
{{ t("events") }}: @@ -189,13 +189,6 @@ limitations under the License. --> } } } - - watch( - () => selectorStore.currentService, - () => { - fetchTasks(); - }, - );