mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-26 13:47:26 +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 tracker from '../../../plugin'
|
||||||
import SubIssueList from '../edit/SubIssueList.svelte'
|
import SubIssueList from '../edit/SubIssueList.svelte'
|
||||||
import AddIssueDuo from '../../icons/AddIssueDuo.svelte'
|
import AddIssueDuo from '../../icons/AddIssueDuo.svelte'
|
||||||
|
import contact from '@hcengineering/contact'
|
||||||
|
|
||||||
export let object: Doc
|
export let object: Doc
|
||||||
export let viewlet: Viewlet
|
export let viewlet: Viewlet
|
||||||
@ -40,7 +41,10 @@
|
|||||||
let teams: Map<Ref<Team>, Team> | undefined
|
let teams: Map<Ref<Team>, Team> | undefined
|
||||||
|
|
||||||
$: subIssuesQuery.query(tracker.class.Issue, query, async (result) => (subIssues = result), {
|
$: 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()
|
const teamsQuery = createQuery()
|
||||||
|
Loading…
Reference in New Issue
Block a user