diff --git a/src/entities/contactmoment/contactmoment.mock.ts b/src/entities/contactmoment/contactmoment.mock.ts index f2fa3ff..563b9ea 100644 --- a/src/entities/contactmoment/contactmoment.mock.ts +++ b/src/entities/contactmoment/contactmoment.mock.ts @@ -5,7 +5,6 @@ export const mockContactMomentData = (): TContactMoment[] => [ { id: '15551d6f-44e3-43f3-a9d2-59e583c91eb0', uuid: '15551d6f-44e3-43f3-a9d2-59e583c91eb0', - titel: 'Zaak 3', notitie: 'Zaak 3', klant: 'Klant 3', zaak: 'Zaak 3', diff --git a/src/entities/contactmoment/contactmoment.ts b/src/entities/contactmoment/contactmoment.ts index 30d5d1c..14aa482 100644 --- a/src/entities/contactmoment/contactmoment.ts +++ b/src/entities/contactmoment/contactmoment.ts @@ -5,7 +5,6 @@ export class ContactMoment implements TContactMoment { public id: string public uuid: string - public titel: string public notitie: string public klant: string public zaak: string @@ -17,7 +16,6 @@ export class ContactMoment implements TContactMoment { constructor(source: TContactMoment) { this.id = source.id || '' this.uuid = source.uuid || '' - this.titel = source.titel || '' this.notitie = source.notitie || '' this.klant = source.klant || '' this.zaak = source.zaak || '' @@ -31,7 +29,6 @@ export class ContactMoment implements TContactMoment { const schema = z.object({ id: z.string().optional(), uuid: z.string().optional(), - titel: z.string().min(1), notitie: z.string().min(1), klant: z.string().min(1), zaak: z.string().min(1), diff --git a/src/entities/contactmoment/contactmoment.types.ts b/src/entities/contactmoment/contactmoment.types.ts index 4c7e790..89d817e 100644 --- a/src/entities/contactmoment/contactmoment.types.ts +++ b/src/entities/contactmoment/contactmoment.types.ts @@ -1,7 +1,6 @@ export type TContactMoment = { id: string; uuid: string; - titel: string; notitie: string; klant: string; zaak: string; diff --git a/src/modals/contactMomenten/ContactMomentenForm.vue b/src/modals/contactMomenten/ContactMomentenForm.vue index 0db7624..497d767 100644 --- a/src/modals/contactMomenten/ContactMomentenForm.vue +++ b/src/modals/contactMomenten/ContactMomentenForm.vue @@ -65,7 +65,7 @@ import { navigationStore, taakStore, zaakStore } from '../../store/store.js' -