This commit is contained in:
@@ -40,12 +40,12 @@ export default {
|
||||
}
|
||||
},
|
||||
availableItems() {
|
||||
let ret=[];
|
||||
let ret = [];
|
||||
for (const [key, value] of Object.entries(this.registry)) {
|
||||
// console.log(`key: ${key}, value: ${JSON.stringify(value)}`);
|
||||
if(authorizationroles.hasRole(value.roles)){
|
||||
ret.push()
|
||||
}
|
||||
// console.log(`key: ${key}, value: ${JSON.stringify(value)}`);
|
||||
if (authorizationroles.hasRole(value.roles)) {
|
||||
ret.push();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user