add invitations tab to members page

This commit is contained in:
Gregor Vostrak
2024-04-15 23:45:27 +02:00
parent c30763d718
commit e4bf56d55d
11 changed files with 165 additions and 14 deletions

View File

@@ -23,6 +23,8 @@ const addTeamMemberForm = useForm({
role: null as string | null,
});
const emit = defineEmits(['close']);
async function submit() {
const organizationId = getCurrentOrganizationId();
if (organizationId) {
@@ -31,6 +33,7 @@ async function submit() {
preserveScroll: true,
onSuccess: () => {
addTeamMemberForm.reset();
emit('close');
show.value = false;
},
});