Merge pull request #25110 from nextcloud/fix/24970/dashboard-greetings
Fix night condition in dashboard greeting
This commit is contained in:
commit
121e2d832b
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 New Issue