mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +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,
|
||||
tooltip
|
||||
} from '@hcengineering/ui'
|
||||
import { ListSelectionProvider, statusStore } from '@hcengineering/view-resources'
|
||||
import { statusStore } from '@hcengineering/view-resources'
|
||||
import { getIssueId, issueLinkFragmentProvider } from '../../../issues'
|
||||
import tracker from '../../../plugin'
|
||||
import IssueStatusIcon from '../IssueStatusIcon.svelte'
|
||||
import { listIssueStatusOrder } from '../../../utils'
|
||||
import IssueStatusIcon from '../IssueStatusIcon.svelte'
|
||||
|
||||
export let issue: WithLookup<Issue>
|
||||
|
||||
@ -58,7 +58,6 @@
|
||||
function openParentIssue () {
|
||||
if (parentIssue) {
|
||||
closeTooltip()
|
||||
ListSelectionProvider.Pop()
|
||||
openIssue(parentIssue)
|
||||
}
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
import { statusStore } from '@hcengineering/view-resources'
|
||||
import { getIssueId } from '../../../issues'
|
||||
import tracker from '../../../plugin'
|
||||
import { listIssueStatusOrder, subIssueListProvider } from '../../../utils'
|
||||
import { listIssueStatusOrder } from '../../../utils'
|
||||
import IssueStatusIcon from '../IssueStatusIcon.svelte'
|
||||
|
||||
export let value: WithLookup<Issue>
|
||||
@ -95,7 +95,6 @@
|
||||
|
||||
function openIssue (target: Ref<Issue>) {
|
||||
if (target !== value._id) {
|
||||
subIssueListProvider(subIssues, target)
|
||||
showPanel(tracker.component.EditIssue, target, value._class, 'content')
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user