0๐
โ
I got it. This is solved with the spread operator:
computed: {
...mapState([
'shipments'
]),
filteredShipments() {
// logic
}
}
Source:stackexchange.com