mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 20:22:53 +00:00
this change was dropped from #3267 by mistake
This commit is contained in:
parent
39ab651319
commit
5232f46d44
@ -56,6 +56,7 @@ _This release is scheduled to be released on 2025-01-01._
|
|||||||
- [calendar] - fix showEndsOnlyWithDuration not working, #3598, applies ONLY to full day events
|
- [calendar] - fix showEndsOnlyWithDuration not working, #3598, applies ONLY to full day events
|
||||||
- [calendar] - fix showEnd for Full Day events #3602
|
- [calendar] - fix showEnd for Full Day events #3602
|
||||||
- [tests] Suppress "module is not defined" in e2e tests
|
- [tests] Suppress "module is not defined" in e2e tests
|
||||||
|
- [calendar] - fixes #3267 (styles array, really this time!)
|
||||||
|
|
||||||
## [2.29.0] - 2024-10-01
|
## [2.29.0] - 2024-10-01
|
||||||
|
|
||||||
|
@ -907,9 +907,9 @@ Module.register("calendar", {
|
|||||||
let p = this.getCalendarProperty(url, property, defaultValue);
|
let p = this.getCalendarProperty(url, property, defaultValue);
|
||||||
if (property === "symbol" || property === "recurringSymbol" || property === "fullDaySymbol") {
|
if (property === "symbol" || property === "recurringSymbol" || property === "fullDaySymbol") {
|
||||||
const className = this.getCalendarProperty(url, "symbolClassName", this.config.defaultSymbolClassName);
|
const className = this.getCalendarProperty(url, "symbolClassName", this.config.defaultSymbolClassName);
|
||||||
p = className + p;
|
if (p instanceof Array) p.push(className);
|
||||||
|
else p = className + p;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(p instanceof Array)) p = [p];
|
if (!(p instanceof Array)) p = [p];
|
||||||
return p;
|
return p;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user