From f65e5e5848839cdd6fc9273b978e6ec8d05dd3c2 Mon Sep 17 00:00:00 2001 From: mohit-nagaraj Date: Sat, 12 Oct 2024 13:16:30 +0530 Subject: [PATCH] Update NextPingTimer.vue --- src/components/NextPingTimer.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/NextPingTimer.vue b/src/components/NextPingTimer.vue index c87243af7..8bb30f0a4 100644 --- a/src/components/NextPingTimer.vue +++ b/src/components/NextPingTimer.vue @@ -28,13 +28,13 @@ export default { formattedTime = seconds > 1 ? `${seconds}secs` : `${seconds}sec`; } if (minutes > 0) { - formattedTime = minutes > 1 ? `${minutes}mins` : `${minutes}min`; + formattedTime = minutes > 1 ? `~ ${minutes}mins` : `~ ${minutes}min`; } if (hours > 0) { - formattedTime = hours > 1 ? `${hours}hrs` : `${hours}hr`; + formattedTime = hours > 1 ? `~ ${hours}hrs` : `~ ${hours}hr`; } if (days > 0) { - formattedTime = days > 1 ? `${days}days` : `${days}day`; + formattedTime = days > 1 ? `~ ${days}days` : `~ ${days}day`; } return formattedTime.trim(); @@ -45,8 +45,10 @@ export default {