mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Make sure default symbol is first from right-to-left
This commit is contained in:
parent
7489d19784
commit
ec2fedd797
@ -569,11 +569,11 @@ Module.register("calendar", {
|
|||||||
let symbols = this.getCalendarPropertyAsArray(event.url, "symbol", this.config.defaultSymbol);
|
let symbols = this.getCalendarPropertyAsArray(event.url, "symbol", this.config.defaultSymbol);
|
||||||
|
|
||||||
if (event.recurringEvent === true) {
|
if (event.recurringEvent === true) {
|
||||||
symbols = this.mergeUnique(symbols, this.getCalendarPropertyAsArray(event.url, "recurringSymbol", this.config.recurringSymbol));
|
symbols = this.mergeUnique(this.getCalendarPropertyAsArray(event.url, "recurringSymbol", this.config.recurringSymbol), symbols);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event.fullDayEvent === true) {
|
if (event.fullDayEvent === true) {
|
||||||
symbols = this.mergeUnique(symbols, this.getCalendarPropertyAsArray(event.url, "fullDaySymbol", this.config.recurringSymbol));
|
symbols = this.mergeUnique(this.getCalendarPropertyAsArray(event.url, "fullDaySymbol", this.config.recurringSymbol), symbols);
|
||||||
}
|
}
|
||||||
|
|
||||||
return symbols;
|
return symbols;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user