fix: update tag identification logic in addOrder function
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
07ed28e25d
commit
fada268c16
|
@ -142,7 +142,7 @@ function addOrder(value, field, params) {
|
||||||
orderBy = JSON.parse(orderBy);
|
orderBy = JSON.parse(orderBy);
|
||||||
|
|
||||||
if (field == 'field') {
|
if (field == 'field') {
|
||||||
orderBy.isTag = !orderByListStatic.find((tag) => tag.id === value);
|
orderBy.isTag = !orderByListStatic.some((tag) => tag.id === value);
|
||||||
}
|
}
|
||||||
|
|
||||||
orderBy[field] = value;
|
orderBy[field] = value;
|
||||||
|
|
Loading…
Reference in New Issue