fix: update tag identification logic in addOrder function
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Alex Moreno 2025-05-20 07:57:30 +02:00
parent 07ed28e25d
commit fada268c16
1 changed files with 1 additions and 1 deletions

View File

@ -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;