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 2 additions and 8 deletions
Showing only changes of commit edf56c1094 - Show all commits

View File

@ -1,11 +1,5 @@
<template> <template>
<q-item <q-item clickable tag="a" target="self" :to="{ name: link }" v-if="isGranted">
clickable
tag="a"
target="self"
:to="{ name: link }"
v-if="hasPermissions"
>
<q-item-section v-if="icon" avatar> <q-item-section v-if="icon" avatar>
<q-icon :name="icon" /> <q-icon :name="icon" />
</q-item-section> </q-item-section>
@ -70,7 +64,7 @@ export default defineComponent({
hasPermissions(props.permissions || [], root.$store) hasPermissions(props.permissions || [], root.$store)
); );
return { realTitle: title, hasPermissions }; return { realTitle: title, isGranted };
} }
}); });
</script> </script>