feat(frontend): Refactor organization, fixed several organization bugs
This commit is contained in:
@@ -69,9 +69,11 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import type { CustomInvitation } from '~/composables/useAuth'
|
||||
|
||||
const invitationId = useRoute().params.id as string
|
||||
|
||||
const { acceptInvitation, rejectInvitation, getInvitation } = useBetterAuth()
|
||||
const { acceptInvitation, rejectInvitation, getInvitation } = useOrganizationStore()
|
||||
const invitation = ref<CustomInvitation>(null)
|
||||
const invitationStatus = ref<'pending' | 'accepted' | 'rejected'>('pending')
|
||||
const error = ref<string | null>(null)
|
||||
|
||||
Reference in New Issue
Block a user