This commit is contained in:
2020-10-29 21:45:46 +00:00
parent e2427dea3f
commit b9f2f95440
2 changed files with 9 additions and 13 deletions

View File

@@ -41,11 +41,13 @@ export default {
},
availableItems() {
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();
}
}
return ret;
}
};