xx
Size: a a a
xx
БО
В
VI
VI
БО
⠀
БО
⠀
⠀
БО
A
const restorantsIds = this.restorants.reduce((acc, restaurant) => {и потом уже проверять:
acc[restaurant.id] = true;
return acc;
}, {});
if (!(restourant.id in restorantsIds)) this.mainFilter.push(restourant);
⠀
⠀
БО
⠀
БО