From bb1f1c19cf6af86b49e4b59942e6c95654e1d2ee Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Mon, 21 Aug 2023 21:30:21 +0000 Subject: [PATCH] wording --- src/layouts/MainLayout.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 64388333..4709160c 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -74,7 +74,7 @@ :color="dash_negative_color" text-color="black" icon="warning" - >Certificate expires in {{ daysUntilCertExpires }} daysSSL certificate expires in {{ daysUntilCertExpires }} days @@ -288,7 +288,7 @@ export default { if (!token.value) { console.log( - "Access token is null or invalid, not setting up WebSocket" + "Access token is null or invalid, not setting up WebSocket", ); return; } @@ -325,10 +325,13 @@ export default { const poll = ref(null); function livePoll() { - poll.value = setInterval(() => { - store.dispatch("checkVer"); - store.dispatch("getDashInfo", false); - }, 60 * 4 * 1000); + poll.value = setInterval( + () => { + store.dispatch("checkVer"); + store.dispatch("getDashInfo", false); + }, + 60 * 4 * 1000, + ); } const updateAvailable = computed(() => {