diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2021-01-13 18:41:53 +0100 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2021-01-13 18:41:53 +0100 |
commit | 27f7b9f3ce0335dd52adbd039118cc2bb453646c (patch) | |
tree | 0e8e20fe8ffb189224b3a851cf83fc13232a9988 /apps/dashboard/src | |
parent | b0caa55563acc16c02a3bb8463af863d4f83879c (diff) | |
download | nextcloud-server-27f7b9f3ce0335dd52adbd039118cc2bb453646c.tar.gz nextcloud-server-27f7b9f3ce0335dd52adbd039118cc2bb453646c.zip |
refs #24970 fix night condition in dashboard greeting
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'apps/dashboard/src')
-rw-r--r-- | apps/dashboard/src/App.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue index 30e9a2835ca..86dff02af37 100644 --- a/apps/dashboard/src/App.vue +++ b/apps/dashboard/src/App.vue @@ -166,7 +166,7 @@ export default { // Determine part of the day let partOfDay - if (time >= 22 && time < 5) { + if (time >= 22 || time < 5) { partOfDay = 'night' } else if (time >= 18) { partOfDay = 'evening' |