Fix related issues assignee (#2702)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-03-02 11:36:21 +06:00 committed by GitHub
parent 217f799bbb
commit 2cbdeafdd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@
import tracker from '../../../plugin'
import SubIssueList from '../edit/SubIssueList.svelte'
import AddIssueDuo from '../../icons/AddIssueDuo.svelte'
import contact from '@hcengineering/contact'
export let object: Doc
export let viewlet: Viewlet
@ -40,7 +41,10 @@
let teams: Map<Ref<Team>, Team> | undefined
$: subIssuesQuery.query(tracker.class.Issue, query, async (result) => (subIssues = result), {
sort: { rank: SortingOrder.Ascending }
sort: { rank: SortingOrder.Ascending },
lookup: {
assignee: contact.class.Employee
}
})
const teamsQuery = createQuery()