diff --git a/ayanova/src/api/dash-registry.js b/ayanova/src/api/dash-registry.js index c048cf5f..feba97ef 100644 --- a/ayanova/src/api/dash-registry.js +++ b/ayanova/src/api/dash-registry.js @@ -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(); + } } } }; diff --git a/ayanova/src/views/home-dashboard.vue b/ayanova/src/views/home-dashboard.vue index b83a7e7d..72e4518b 100644 --- a/ayanova/src/views/home-dashboard.vue +++ b/ayanova/src/views/home-dashboard.vue @@ -10,8 +10,8 @@ xl="3" >