This commit is contained in:
@@ -40,12 +40,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
availableItems() {
|
availableItems() {
|
||||||
let ret=[];
|
let ret = [];
|
||||||
for (const [key, value] of Object.entries(this.registry)) {
|
for (const [key, value] of Object.entries(this.registry)) {
|
||||||
// console.log(`key: ${key}, value: ${JSON.stringify(value)}`);
|
// console.log(`key: ${key}, value: ${JSON.stringify(value)}`);
|
||||||
if(authorizationroles.hasRole(value.roles)){
|
if (authorizationroles.hasRole(value.roles)) {
|
||||||
ret.push()
|
ret.push();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
xl="3"
|
xl="3"
|
||||||
>
|
>
|
||||||
<gz-dash
|
<gz-dash
|
||||||
:title="'Dash-' + item.id"
|
:title="item.title"
|
||||||
:id="'dash-item-' + item.id"
|
:id="item.id"
|
||||||
v-on:dash-remove="dashRemove"
|
v-on:dash-remove="dashRemove"
|
||||||
v-on:dash-move-start="dashMoveStart"
|
v-on:dash-move-start="dashMoveStart"
|
||||||
v-on:dash-move-back="dashMoveBack"
|
v-on:dash-move-back="dashMoveBack"
|
||||||
|
|||||||
Reference in New Issue
Block a user