diff --git a/src/components/admin/club/member/MemberCommunicationEditModal.vue b/src/components/admin/club/member/MemberCommunicationEditModal.vue
index cc3540d..b674c00 100644
--- a/src/components/admin/club/member/MemberCommunicationEditModal.vue
+++ b/src/components/admin/club/member/MemberCommunicationEditModal.vue
@@ -136,7 +136,7 @@ export default defineComponent({
preferred: formData.preferred.checked,
mobile: formData.mobile?.value,
email: formData.email?.value,
- postalCode: formData.postalCode.value,
+ postalCode: formData.postalCode?.value,
city: formData.city?.value,
street: formData.street?.value,
streetNumber: formData.streetNumber?.value,
diff --git a/src/components/admin/user/user/InviteUserModal.vue b/src/components/admin/user/user/InviteUserModal.vue
index 06f15f1..9ea6d9f 100644
--- a/src/components/admin/user/user/InviteUserModal.vue
+++ b/src/components/admin/user/user/InviteUserModal.vue
@@ -80,15 +80,13 @@ export default defineComponent({
this.createInvite(createInvite)
.then((result) => {
this.status = { status: "success" };
+ setTimeout(() => {
+ this.closeModal();
+ }, 2000);
})
.catch((err) => {
this.status = { status: "failed", reason: err.response.data };
})
- .finally(() => {
- setTimeout(() => {
- this.closeModal();
- }, 2000);
- });
},
},
});
diff --git a/src/components/admin/user/user/UserListItem.vue b/src/components/admin/user/user/UserListItem.vue
index 94d0ce7..d74a42e 100644
--- a/src/components/admin/user/user/UserListItem.vue
+++ b/src/components/admin/user/user/UserListItem.vue
@@ -3,7 +3,7 @@
{{ user.firstname }} {{ user.lastname }} (Admin) (Owner)
+ > (Owner)
, default: {} },
},
computed: {
- ...mapState(useAbilityStore, ["can", "isOwner"]),
+ ...mapState(useAbilityStore, ["can"]),
},
methods: {
...mapActions(useModalStore, ["openModal"]),
diff --git a/src/views/Login.vue b/src/views/Login.vue
index 60f1400..3e5f764 100644
--- a/src/views/Login.vue
+++ b/src/views/Login.vue
@@ -3,7 +3,7 @@
-
+