mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Cosmetics
This commit is contained in:
parent
8de3a234c4
commit
3c778ef95e
1 changed files with 5 additions and 5 deletions
|
@ -80,17 +80,17 @@ const CollectionType = {
|
||||||
}
|
}
|
||||||
return this.ADDRESSBOOK;
|
return this.ADDRESSBOOK;
|
||||||
}
|
}
|
||||||
let union = "";
|
let union = [];
|
||||||
if (a.search(this.CALENDAR) !== -1 || b.search(this.CALENDAR) !== -1) {
|
if (a.search(this.CALENDAR) !== -1 || b.search(this.CALENDAR) !== -1) {
|
||||||
union += (union ? "_" : "") + this.CALENDAR;
|
union.push(this.CALENDAR);
|
||||||
}
|
}
|
||||||
if (a.search(this.JOURNAL) !== -1 || b.search(this.JOURNAL) !== -1) {
|
if (a.search(this.JOURNAL) !== -1 || b.search(this.JOURNAL) !== -1) {
|
||||||
union += (union ? "_" : "") + this.JOURNAL;
|
union.push(this.JOURNAL);
|
||||||
}
|
}
|
||||||
if (a.search(this.TASKS) !== -1 || b.search(this.TASKS) !== -1) {
|
if (a.search(this.TASKS) !== -1 || b.search(this.TASKS) !== -1) {
|
||||||
union += (union ? "_" : "") + this.TASKS;
|
union.push(this.TASKS);
|
||||||
}
|
}
|
||||||
return union;
|
return union.join("_");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue