HUGE REFACTOR / CLEANUP

if there is a issue it's probably something in here that was changed
This commit is contained in:
2021-09-28 20:19:44 +00:00
parent 51eddfede9
commit d0afdd9855
238 changed files with 3127 additions and 8614 deletions

View File

@@ -1,5 +1,5 @@
import authorizationroles from "./authorizationroles";
let role = authorizationroles.AUTHORIZATION_ROLES;
const role = authorizationroles.AUTHORIZATION_ROLES;
export default {
registry: [
{
@@ -48,9 +48,9 @@ export default {
}
],
availableItems() {
let ret = [];
const ret = [];
for (let i = 0; i < this.registry.length; i++) {
let item = this.registry[i];
const item = this.registry[i];
if (authorizationroles.hasRole(item.roles)) {
ret.push({ id: item.id, title: item.title, type: item.type });
}