From c7871427c3c2b8bce9da357b6381bfb01eae10c5 Mon Sep 17 00:00:00 2001 From: Denis Mishankov Date: Mon, 17 Oct 2022 20:20:51 +0300 Subject: [PATCH 1/2] compute title value --- src/components/Uptime.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/Uptime.vue b/src/components/Uptime.vue index 8565975cc..422ae0ffd 100644 --- a/src/components/Uptime.vue +++ b/src/components/Uptime.vue @@ -1,5 +1,5 @@ From 7313aa656386e0b8c12af2210950abc4991a036c Mon Sep 17 00:00:00 2001 From: Denis Mishankov Date: Mon, 17 Oct 2022 20:36:52 +0300 Subject: [PATCH 2/2] fix spaces --- src/components/Uptime.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Uptime.vue b/src/components/Uptime.vue index 422ae0ffd..df9bd47ac 100644 --- a/src/components/Uptime.vue +++ b/src/components/Uptime.vue @@ -78,10 +78,10 @@ export default { title() { if (this.type === "720") { - return `30 ${this.$t("-day")}`; + return `30${this.$t("-day")}`; } - return `24 ${this.$t("-hour")}`; + return `24${this.$t("-hour")}`; } }, };