This commit is contained in:
2020-10-29 21:37:10 +00:00
parent 4c5b32ce66
commit e2427dea3f
2 changed files with 7 additions and 7 deletions

View File

@@ -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();
}
}
}
};

View File

@@ -10,8 +10,8 @@
xl="3"
>
<gz-dash
:title="'Dash-' + item.id"
:id="'dash-item-' + item.id"
:title="item.title"
:id="item.id"
v-on:dash-remove="dashRemove"
v-on:dash-move-start="dashMoveStart"
v-on:dash-move-back="dashMoveBack"