diff --git a/src/views/dashboard/related/continuous-profiling/components/Policy.vue b/src/views/dashboard/related/continuous-profiling/components/Policy.vue index 0bfc9ac9..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]})` : ""; }