release v2.0.0 #4
|
@ -47,7 +47,7 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
setup(props, { emit }) {
|
setup(props, { emit }) {
|
||||||
function isGranted(val: FG_Plugin.MenuLink) {
|
function isGranted(val: FG_Plugin.MenuLink) {
|
||||||
return hasPermissions(val.permissions || []);
|
return computed(() => hasPermissions(val.permissions || []));
|
||||||
}
|
}
|
||||||
const title = computed(() =>
|
const title = computed(() =>
|
||||||
typeof props.entry.title === 'function' ? props.entry.title() : props.entry.title
|
typeof props.entry.title === 'function' ? props.entry.title() : props.entry.title
|
||||||
|
|
Loading…
Reference in New Issue