mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
Fix related issues assignee (#2702)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
217f799bbb
commit
2cbdeafdd1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user