Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- removeChildCheck:function(menu){
- let removeArrayValues = [];
- for(var i=0; i < this.checkbox.menu.length; i++){
- removeArrayValues.push(this.checkbox.menu[i].value);
- }
- this.user.permissions = this.user.permissions.filter((i) => !removeArrayValues.includes(i));
- },
Add Comment
Please, Sign In to add comment