diff --git a/apps/settings/src/components/Members.vue b/apps/settings/src/components/Members.vue index 4a5e2848f9..cf650c4414 100644 --- a/apps/settings/src/components/Members.vue +++ b/apps/settings/src/components/Members.vue @@ -5,13 +5,7 @@ {{ graphqlError }} {{ success }} -
+
Manage members

Use table below to add, edit or remove members

@@ -109,13 +103,11 @@ export default { loading: false, }; }, - computed: { canEdit() { return ( - this.session != null && - (this.session.email == "admin" || - this.session.roles.includes("Manager")) + this.session?.email === "admin" || + this.session?.roles.includes("Manager") ); }, }, @@ -130,7 +122,7 @@ export default { `mutation drop($member:[String]){drop(members:$member){message}}`, { member: name } ) - .then((data) => { + .then(() => { this.loadMembers(); }) .catch((error) => { diff --git a/apps/tailwind-components/components/Modal.vue b/apps/tailwind-components/components/Modal.vue index b60cd7ebf8..c1c6d96937 100644 --- a/apps/tailwind-components/components/Modal.vue +++ b/apps/tailwind-components/components/Modal.vue @@ -10,7 +10,7 @@ function showModal() { visible.value = true; } -const closeModal = (returnVal?: string) => { +const closeModal = (_returnVal?: string) => { visible.value = false; }; @@ -20,6 +20,7 @@ defineExpose({ visible, }); +