refactor(app): unify settings tab design for tags, templates & crowd types
Move crowd types management to organisation settings as a new tab and align all three settings tabs (Tags, Registration Field Templates, Crowd Types) to the same layout pattern: header with title/subtitle, VDataTable for active items, and a separate inactive section with VList. Also fix the API to return inactive records for person tags and registration field templates so the frontend can display them. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
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()
|
||||
@@ -124,13 +123,6 @@ 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