From 4b9d47fa536335ca7ebd69ad4098967dfbe5aceb Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 11 Jun 2020 04:20:57 +0200 Subject: [PATCH] Modify dashboard welcome sentences Signed-off-by: Jan-Christoph Borchardt --- apps/dashboard/src/App.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue index 9f8598de216..04c0a75969e 100644 --- a/apps/dashboard/src/App.vue +++ b/apps/dashboard/src/App.vue @@ -39,7 +39,7 @@ export default { const time = this.timer.getHours() if (time > 18) { - return t('dashboard', '🌙 Good evening') + return t('dashboard', '🌙 Time to call it a day') } if (time > 12) { return t('dashboard', '☀ Good afternoon') @@ -47,7 +47,10 @@ export default { if (time === 12) { return t('dashboard', '🍽 Time for lunch') } - return t('dashboard', '🌄 Good morning') + if (time > 5) { + return t('dashboard', '🌄 Good morning') + } + return t('dashboard', '🦉 Have a night owl') }, }, watch: { -- 2.39.5