This commit is contained in:
@@ -39,10 +39,5 @@ export default {
|
||||
return false;
|
||||
}
|
||||
return role === (store.state.roles & role);
|
||||
//https://stackoverflow.com/questions/39359740/what-are-enum-flags-in-typescript
|
||||
//https://stackoverflow.com/questions/15551652/javascript-enum-flag-check
|
||||
// if ((role & flags.ERROR) == flags.ERROR) {
|
||||
// alert("ERROR IS SET");
|
||||
// }
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user