0
0
Fork 0

Merge pull request 'fix: refs #7413 No id tag' (!580) from 7413-filterValueFix into master

Reviewed-on: verdnatura/salix-front#580
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Guillermo Bonet 2024-08-02 07:57:32 +00:00
commit 6bc265b83f
2 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,7 @@ const getCategoryClass = (category, params) => {
const getSelectedTagValues = async (tag) => { const getSelectedTagValues = async (tag) => {
try { try {
if (!tag?.selectedTag?.id) return;
tag.value = null; tag.value = null;
const filter = { const filter = {
fields: ['value'], fields: ['value'],

View File

@ -56,6 +56,7 @@ const onCategoryChange = async (categoryFk, search) => {
const getSelectedTagValues = async (tag) => { const getSelectedTagValues = async (tag) => {
try { try {
if (!tag?.selectedTag?.id) return;
tag.value = null; tag.value = null;
const filter = { const filter = {
fields: ['value'], fields: ['value'],