From ef8c9d3dc29edaa3d91a1a074cad0968abfc74b1 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Tue, 22 Apr 2025 20:25:16 +0500 Subject: [PATCH] Process bug fixes (#8661) Signed-off-by: Denis Bykhov --- models/time/src/index.ts | 6 +++--- .../src/components/Navigator.svelte | 6 +++--- .../node-view/ToDoItemNodeView.svelte | 8 ++++---- plugins/time/src/index.ts | 4 ++-- server-plugins/time-resources/src/index.ts | 19 +++++++++---------- .../pod-github/src/sync/pullrequests.ts | 14 +++++++++----- 6 files changed, 30 insertions(+), 27 deletions(-) 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 @@ -->