Tasks: ignore empty categories

master
Tom Hacohen 4 years ago
parent a748ae3cf1
commit e3d6bd21e4

@ -225,7 +225,7 @@ export class TaskType extends EventType {
}
get tags() {
return this.component.getFirstProperty("categories")?.getValues() ?? [];
return this.component.getFirstProperty("categories")?.getValues()?.filter((x) => x !== "") ?? [];
}
set dueDate(date: ICAL.Time | undefined) {

Loading…
Cancel
Save