TSK-1660 Get rid of ListSelectionProvider.Pop (#3879)

Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2023-10-24 22:24:23 +07:00 committed by GitHub
parent 97486418d7
commit 2363aed133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -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)
}
}

View File

@ -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')
}
}