feat: crowd types management UI with create/edit/deactivate
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import { useMyOrganisation } from '@/composables/api/useOrganisations'
|
||||
import { useAuthStore } from '@/stores/useAuthStore'
|
||||
import EditOrganisationDialog from '@/components/organisations/EditOrganisationDialog.vue'
|
||||
import CrowdTypesManager from '@/components/organisations/CrowdTypesManager.vue'
|
||||
import type { Organisation } from '@/types/organisation'
|
||||
|
||||
const authStore = useAuthStore()
|
||||
@@ -123,6 +124,13 @@ function formatDate(iso: string) {
|
||||
</VCardText>
|
||||
</VCard>
|
||||
|
||||
<!-- Crowd Types -->
|
||||
<CrowdTypesManager
|
||||
v-if="isOrgAdmin"
|
||||
:org-id="organisation.id"
|
||||
class="mt-6"
|
||||
/>
|
||||
|
||||
<EditOrganisationDialog
|
||||
v-model="isEditDialogOpen"
|
||||
:organisation="organisation"
|
||||
|
||||
Reference in New Issue
Block a user