July 10, 2019
Starting the day off with meetings and discussions.
Waiting on CON login, so working on the TAP site, making my filters additive.
Probably the first time I've used findIndex. It's in core-js, so I think we're ok.
applyFilter(filter) {
if (this.activeFilter.includes(filter)) {
const index = this.activeFilter.findIndex((a) => { return a === filter })
this.activeFilter.splice(index, 1)
} else {
this.activeFilter.push(filter)
}
},