diff --git a/models/time/src/index.ts b/models/time/src/index.ts index b1609dd4fc..3c2e75959d 100644 --- a/models/time/src/index.ts +++ b/models/time/src/index.ts @@ -16,7 +16,7 @@ import activity from '@hcengineering/activity' import board from '@hcengineering/board' import calendarPlugin, { type Visibility } from '@hcengineering/calendar' -import contactPlugin, { type Person } from '@hcengineering/contact' +import contactPlugin, { type Employee } from '@hcengineering/contact' import { DOMAIN_MODEL, type Class, @@ -116,8 +116,8 @@ export class TToDo extends TAttachedDoc implements ToDo { doneOn?: Timestamp | null - @Prop(TypeRef(contactPlugin.class.Person), contactPlugin.string.Employee) - user!: Ref + @Prop(TypeRef(contactPlugin.mixin.Employee), contactPlugin.string.Employee) + user!: Ref @Prop(Collection(time.class.WorkSlot, time.string.WorkSlot), time.string.WorkSlot) workslots!: number diff --git a/plugins/process-resources/src/components/Navigator.svelte b/plugins/process-resources/src/components/Navigator.svelte index 1ce0040355..d552be6d27 100644 --- a/plugins/process-resources/src/components/Navigator.svelte +++ b/plugins/process-resources/src/components/Navigator.svelte @@ -14,7 +14,7 @@ -->