mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #25110 from nextcloud/fix/24970/dashboard-greetings
Fix night condition in dashboard greeting
This commit is contained in:
commit
121e2d832b
3 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue