mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-26 19:44:57 +02:00
UBERF-9448: fix svelte-check (#7975)
Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
+2
-2
@@ -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]
|
||||
|
||||
+3
-4
@@ -6,12 +6,12 @@
|
||||
emptyBundle,
|
||||
extractValidationWorkflow
|
||||
} from '@hcengineering/controlled-documents'
|
||||
import { SortingOrder } from '@hcengineering/core'
|
||||
|
||||
import { createQuery, getClient } from '@hcengineering/presentation'
|
||||
import { Label, Scroller } from '@hcengineering/ui'
|
||||
|
||||
import { personIdByAccountId } from '@hcengineering/contact-resources'
|
||||
import chunter, { ChatMessage } from '@hcengineering/chunter'
|
||||
import { personRefByPersonIdStore } from '@hcengineering/contact-resources'
|
||||
import documentsRes from '../../../plugin'
|
||||
import {
|
||||
$controlledDocument as controlledDocument,
|
||||
@@ -20,7 +20,6 @@
|
||||
import DocumentApprovalGuideItem from './DocumentApprovalGuideItem.svelte'
|
||||
import DocumentApprovalItem from './DocumentApprovalItem.svelte'
|
||||
import RightPanelTabHeader from './RightPanelTabHeader.svelte'
|
||||
import chunter, { ChatMessage } from '@hcengineering/chunter'
|
||||
|
||||
const client = getClient()
|
||||
const hierarchy = client.getHierarchy()
|
||||
@@ -52,7 +51,7 @@
|
||||
DocumentSnapshot: $documentSnapshots,
|
||||
ChatMessage: messages
|
||||
},
|
||||
(ref) => $personIdByAccountId.get(ref)
|
||||
(ref) => $personRefByPersonIdStore.get(ref)
|
||||
)
|
||||
|
||||
$: validationStates = ((doc ? workflow.get(doc._id) : []) ?? []).slice()
|
||||
|
||||
Reference in New Issue
Block a user