release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 36d6fdfb94 - Show all commits

View File

@ -45,7 +45,7 @@ export default defineComponent({
},
setup(props, { emit }) {
function isGranted(val: FG_Plugin.MenuLink) {
return computed(() => hasPermissions(val.permissions || []));
return computed(() => hasPermissions(val.permissions || [])).value;
}
function getTitle(entry: FG_Plugin.MenuLink) {
return computed(() => (typeof entry.title === 'function' ? entry.title() : entry.title)).value;