diff --git a/src/views/dashboard/related/async-profiling/components/NewTask.vue b/src/views/dashboard/related/async-profiling/components/NewTask.vue index ca114b5e..7cf86a27 100644 --- a/src/views/dashboard/related/async-profiling/components/NewTask.vue +++ b/src/views/dashboard/related/async-profiling/components/NewTask.vue @@ -119,8 +119,8 @@ limitations under the License. --> duration.value = val; } - function changeInstances(options: Option[]) { - serviceInstanceIds.value = options.map((d: Option) => d.value); + function changeInstances(options: { id: string }[]) { + serviceInstanceIds.value = options.map((d: { id: string }) => d.id); } function disableEvents(item: string) { diff --git a/src/views/dashboard/related/async-profiling/components/TaskList.vue b/src/views/dashboard/related/async-profiling/components/TaskList.vue index 5730f786..7f83b625 100644 --- a/src/views/dashboard/related/async-profiling/components/TaskList.vue +++ b/src/views/dashboard/related/async-profiling/components/TaskList.vue @@ -54,7 +54,7 @@ limitations under the License. -->
{{ t("task") }}.
- {{ t("id") }}: + ID: {{ asyncProfilingStore.selectedTask.id }}