Hi,
i have 2 queries loading data from an api (openstreetmap), i joined them and the data is correctly loading in a table with this js code
const bakeryChecked = checkBakery.value;
const restaurantChecked = checkRestaurant.value;
const bakeryData = bakeryChecked ? querybakery.data.features : [];
const restaurantData = restaurantChecked ? queryrestaurant.data.features : [];
const filteredData = [...bakeryData, ...restaurantData].filter(item => item.name !== null && item.name !== "");
return filteredData;
however, some rows have no title and i would like to hide/remove them
i tried with the filter .filter(item => item.name !== null && item.name !== "");
but these rows are still visible.
The column is called "title" and its id is title and it is loading data as {{ item.name }} in a string format.
How can i fix this?
thanks