Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- notAgain(obj) {
- const removeHandler = this.array.filter(item => item === obj)
- if (removeHandler.length) {
- this.array = this.array.filter(item => item !== obj)
- return
- }
- this.alarmsSelected.push(alarm)
- }
Add Comment
Please, Sign In to add comment