mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 00:37:47 +00:00
TSK-1660 Get rid of ListSelectionProvider.Pop (#3879)
Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
parent
97486418d7
commit
2363aed133
@ -28,11 +28,11 @@
|
|||||||
themeStore,
|
themeStore,
|
||||||
tooltip
|
tooltip
|
||||||
} from '@hcengineering/ui'
|
} from '@hcengineering/ui'
|
||||||
import { ListSelectionProvider, statusStore } from '@hcengineering/view-resources'
|
import { statusStore } from '@hcengineering/view-resources'
|
||||||
import { getIssueId, issueLinkFragmentProvider } from '../../../issues'
|
import { getIssueId, issueLinkFragmentProvider } from '../../../issues'
|
||||||
import tracker from '../../../plugin'
|
import tracker from '../../../plugin'
|
||||||
import IssueStatusIcon from '../IssueStatusIcon.svelte'
|
|
||||||
import { listIssueStatusOrder } from '../../../utils'
|
import { listIssueStatusOrder } from '../../../utils'
|
||||||
|
import IssueStatusIcon from '../IssueStatusIcon.svelte'
|
||||||
|
|
||||||
export let issue: WithLookup<Issue>
|
export let issue: WithLookup<Issue>
|
||||||
|
|
||||||
@ -58,7 +58,6 @@
|
|||||||
function openParentIssue () {
|
function openParentIssue () {
|
||||||
if (parentIssue) {
|
if (parentIssue) {
|
||||||
closeTooltip()
|
closeTooltip()
|
||||||
ListSelectionProvider.Pop()
|
|
||||||
openIssue(parentIssue)
|
openIssue(parentIssue)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
import { statusStore } from '@hcengineering/view-resources'
|
import { statusStore } from '@hcengineering/view-resources'
|
||||||
import { getIssueId } from '../../../issues'
|
import { getIssueId } from '../../../issues'
|
||||||
import tracker from '../../../plugin'
|
import tracker from '../../../plugin'
|
||||||
import { listIssueStatusOrder, subIssueListProvider } from '../../../utils'
|
import { listIssueStatusOrder } from '../../../utils'
|
||||||
import IssueStatusIcon from '../IssueStatusIcon.svelte'
|
import IssueStatusIcon from '../IssueStatusIcon.svelte'
|
||||||
|
|
||||||
export let value: WithLookup<Issue>
|
export let value: WithLookup<Issue>
|
||||||
@ -95,7 +95,6 @@
|
|||||||
|
|
||||||
function openIssue (target: Ref<Issue>) {
|
function openIssue (target: Ref<Issue>) {
|
||||||
if (target !== value._id) {
|
if (target !== value._id) {
|
||||||
subIssueListProvider(subIssues, target)
|
|
||||||
showPanel(tracker.component.EditIssue, target, value._class, 'content')
|
showPanel(tracker.component.EditIssue, target, value._class, 'content')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user