patches v1.0.1 #35

Merged
jkeffects merged 6 commits from develop into main 2025-01-10 11:10:04 +00:00
Showing only changes of commit c83b4670cc - Show all commits

View file

@ -3,7 +3,7 @@
<div class="bg-primary p-2 text-white flex flex-row justify-between items-center"> <div class="bg-primary p-2 text-white flex flex-row justify-between items-center">
<p> <p>
{{ user.firstname }} {{ user.lastname }} <small v-if="user.permissions_total.admin">(Admin)</small {{ user.firstname }} {{ user.lastname }} <small v-if="user.permissions_total.admin">(Admin)</small
><small v-if="isOwner"> (Owner)</small> ><small v-if="user.isOwner"> (Owner)</small>
</p> </p>
<div class="flex flex-row"> <div class="flex flex-row">
<RouterLink <RouterLink
@ -65,7 +65,7 @@ export default defineComponent({
user: { type: Object as PropType<UserViewModel>, default: {} }, user: { type: Object as PropType<UserViewModel>, default: {} },
}, },
computed: { computed: {
...mapState(useAbilityStore, ["can", "isOwner"]), ...mapState(useAbilityStore, ["can"]),
}, },
methods: { methods: {
...mapActions(useModalStore, ["openModal"]), ...mapActions(useModalStore, ["openModal"]),