[Vuejs]-Filter an array by value with another array of values

4👍

Your .includes() call is backwards. It should be

this.serviceIds.includes(item.service._id)

The general format is array.includes(element)

Leave a comment