UBERF-9448: fix svelte-check (#7975)

Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
Victor Ilyushchenko
2025-02-11 00:47:22 +04:00
committed by GitHub
parent 1053d8f559
commit d66149a010
3 changed files with 7 additions and 12 deletions
@@ -14,7 +14,7 @@
-->
<script lang="ts">
import { Employee, Person, formatName } from '@hcengineering/contact'
import { employeeByIdStore, personIdByAccountId } from '@hcengineering/contact-resources'
import { employeeByIdStore, personRefByPersonIdStore } from '@hcengineering/contact-resources'
import documents, {
DocumentRequest,
emptyBundle,
@@ -53,7 +53,7 @@
DocumentRequest: requests,
DocumentSnapshot: $documentSnapshots
},
(ref) => $personIdByAccountId.get(ref)
(ref) => $personRefByPersonIdStore.get(ref)
)
$: state = (doc ? workflow?.get(doc._id) ?? [] : [])[0]