Fixed prio sort nnot working
This commit is contained in:
parent
bffbe6dffa
commit
7d78c14033
@ -77,7 +77,7 @@ export class TaskTableComponent extends TableComponentBase<ScrumTask> {
|
||||
(task) =>
|
||||
(this.filterUserstoryId === null ||
|
||||
task.userstoryId === this.filterUserstoryId) &&
|
||||
(this.filterPriority === null || task.priority === this.filterPriority)
|
||||
(this.filterPriority === null || task.priority.toLowerCase() == this.filterPriority.toLowerCase())
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,7 @@ export class UserstoryInnerTableComponent extends TableComponentBase<ScrumUserst
|
||||
if (this.filterPriority == null) {
|
||||
return this.items;
|
||||
}
|
||||
return this.items.filter((t) => t.priority == this.filterPriority);
|
||||
return this.items.filter((t) => t.priority.toLowerCase() == this.filterPriority.toLowerCase());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user