refs #24970 fix night condition in dashboard greeting
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
This commit is contained in:
parent
b0caa55563
commit
27f7b9f3ce
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
|
// Determine part of the day
|
||||||
let partOfDay
|
let partOfDay
|
||||||
if (time >= 22 && time < 5) {
|
if (time >= 22 || time < 5) {
|
||||||
partOfDay = 'night'
|
partOfDay = 'night'
|
||||||
} else if (time >= 18) {
|
} else if (time >= 18) {
|
||||||
partOfDay = 'evening'
|
partOfDay = 'evening'
|
||||||
|
|
Loading…
Reference in New Issue