[AAE-3638] - update priority option (#6423)

This commit is contained in:
Silviu Popa
2020-12-04 19:42:34 +02:00
committed by GitHub
parent 31bac2da24
commit f39997b98b
8 changed files with 13 additions and 11 deletions

View File

@@ -187,12 +187,12 @@ export class DataTableComponentPage {
return 0;
}
if (a.toLocaleLowerCase() === 'not set') {
if (a.toLocaleLowerCase() === 'none') {
return -1;
}
if (a.toLocaleLowerCase() === 'low') {
if (b === 'not set') {
if (b === 'none') {
return 1;
} else {
return -1;