This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-booster-ui.git
The following commit(s) were added to refs/heads/main by this push:
new 63db3fbc fix: update the title of instance list and notices in the
continue profiling (#289)
63db3fbc is described below
commit 63db3fbc2e3843d38f9b5b6e4b8666066da4d517
Author: Fine0830 <[email protected]>
AuthorDate: Sun Jun 25 22:41:45 2023 +0800
fix: update the title of instance list and notices in the continue
profiling (#289)
---
src/locales/lang/en.ts | 2 +-
.../dashboard/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. -->
<div>
<div class="label">
<span class="mr-5">{{ t("threshold") }}</span>
- <span>({{ getNotice(item.type) }} )</span>
+ <span>{{ getNotice(item.type) }}</span>
</div>
<el-input
type="number"
@@ -202,7 +202,7 @@ limitations under the License. -->
HTTP_AVG_RESPONSE_TIME: "It is a response time in milliseconds",
};
- return map[type];
+ return map[type] ? `(${map[type]})` : "";
}
</script>
<style lang="scss" scoped>