mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 04:02:15 +01:00
add invitations tab to members page
This commit is contained in:
@@ -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;
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user