From 63db3fbc2e3843d38f9b5b6e4b8666066da4d517 Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Sun, 25 Jun 2023 22:41:45 +0800 Subject: [PATCH] fix: update the title of instance list and notices in the continue profiling (#289) --- src/locales/lang/en.ts | 2 +- .../related/continuous-profiling/components/Policy.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts index 6bc4cacf..7dbf950c 100644 --- a/src/locales/lang/en.ts +++ b/src/locales/lang/en.ts @@ -399,7 +399,7 @@ const msg = { uriRegex: "URI Regex", uriList: "URI List", processes: "Processes", - monitorInstances: "Monitor Instances", + monitorInstances: "Monitoring Instances", processDashboards: "Process Dashboards", instanceDashboards: "Instance Dashboards", detailLabel: "Detail Label", diff --git a/src/views/dashboard/related/continuous-profiling/components/Policy.vue b/src/views/dashboard/related/continuous-profiling/components/Policy.vue index 933b1c33..09ecc35d 100644 --- a/src/views/dashboard/related/continuous-profiling/components/Policy.vue +++ b/src/views/dashboard/related/continuous-profiling/components/Policy.vue @@ -56,7 +56,7 @@ limitations under the License. -->
{{ t("threshold") }} - ({{ getNotice(item.type) }} ) + {{ getNotice(item.type) }}
HTTP_AVG_RESPONSE_TIME: "It is a response time in milliseconds", }; - return map[type]; + return map[type] ? `(${map[type]})` : ""; }