Guest User

Untitled

a guest
Sep 18th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. removeChildCheck:function(menu){
  2. let removeArrayValues = [];
  3. for(var i=0; i < this.checkbox.menu.length; i++){
  4. removeArrayValues.push(this.checkbox.menu[i].value);
  5. }
  6. this.user.permissions = this.user.permissions.filter((i) => !removeArrayValues.includes(i));
  7. },
Add Comment
Please, Sign In to add comment