From 85a18ece4df02cf2e081c8cd36af4a957207b53b Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Wed, 5 Jan 2022 16:08:15 +0700 Subject: [PATCH] Fixes #759 (#761) Signed-off-by: Andrey Sobolev --- plugins/recruit-resources/src/components/EditApplication.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/recruit-resources/src/components/EditApplication.svelte b/plugins/recruit-resources/src/components/EditApplication.svelte index 8a07377ec3..0c9e61c3a1 100644 --- a/plugins/recruit-resources/src/components/EditApplication.svelte +++ b/plugins/recruit-resources/src/components/EditApplication.svelte @@ -30,7 +30,7 @@ const candidateQuery = createQuery() $: if (object !== undefined) { - candidateQuery.query(recruit.mixin.Candidate, { _id: object.attachedTo as Ref }, (result) => { + candidateQuery.query(recruit.class.Candidate, { _id: object.attachedTo as Ref }, (result) => { candidate = result[0] }) }