Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2023-09-30 23:52:27 +07:00
committed by GitHub
parent c4e1392960
commit 7f1d23ffa1
18 changed files with 78 additions and 71 deletions
@@ -13,12 +13,12 @@
// limitations under the License.
-->
<script lang="ts">
import { createEventDispatcher } from 'svelte'
import { DocumentQuery, Ref } from '@hcengineering/core'
import { Issue, Project } from '@hcengineering/tracker'
import { IntlString } from '@hcengineering/platform'
import { createQuery } from '@hcengineering/presentation'
import { Issue, Project } from '@hcengineering/tracker'
import { resolvedLocationStore } from '@hcengineering/ui'
import { createEventDispatcher } from 'svelte'
import { IModeSelector } from '@hcengineering/ui'
import tracker from '../../plugin'
@@ -87,7 +87,5 @@
</script>
{#if query !== undefined && modeSelectorProps !== undefined}
{#key query && currentSpace}
<IssuesView {query} space={currentSpace} {title} {modeSelectorProps} />
{/key}
<IssuesView {query} space={currentSpace} {title} {modeSelectorProps} />
{/if}
@@ -29,7 +29,7 @@
import { Item, Kanban } from '@hcengineering/kanban'
import notification from '@hcengineering/notification'
import { getResource } from '@hcengineering/platform'
import { createQuery, getClient, ActionContext } from '@hcengineering/presentation'
import { ActionContext, createQuery, getClient } from '@hcengineering/presentation'
import tags from '@hcengineering/tags'
import { Issue, IssuesGrouping, IssuesOrdering, Project } from '@hcengineering/tracker'
import {
@@ -41,7 +41,6 @@
IconAdd,
Label,
Loading,
showPanel,
showPopup,
themeStore
} from '@hcengineering/ui'
@@ -65,6 +64,7 @@
ListSelectionProvider,
Menu,
noCategory,
openDoc,
SelectDirection,
selectionStore,
setGroupByValues
@@ -348,7 +348,7 @@
<div
class="tracker-card"
on:click={() => {
showPanel(tracker.component.EditIssue, object._id, object._class, 'content')
openDoc(hierarchy, issue)
}}
>
<div class="card-header flex-between">
@@ -20,9 +20,9 @@
Button,
ButtonKind,
ButtonSize,
closeTooltip,
ProgressCircle,
SelectPopup,
closeTooltip,
showPanel,
showPopup
} from '@hcengineering/ui'
@@ -13,13 +13,13 @@
// limitations under the License.
-->
<script lang="ts">
import { createEventDispatcher } from 'svelte'
import type { PersonAccount } from '@hcengineering/contact'
import { Doc, DocumentQuery, getCurrentAccount, Ref } from '@hcengineering/core'
import type { IntlString } from '@hcengineering/platform'
import { createQuery } from '@hcengineering/presentation'
import type { Issue, Project } from '@hcengineering/tracker'
import { resolvedLocationStore } from '@hcengineering/ui'
import { createEventDispatcher } from 'svelte'
import { IModeSelector } from '@hcengineering/ui'
import tracker from '../../plugin'
@@ -81,7 +81,5 @@
</script>
{#if query !== undefined && modeSelectorProps !== undefined}
{#key query}
<IssuesView {query} space={undefined} title={tracker.string.MyIssues} {modeSelectorProps} />
{/key}
<IssuesView {query} space={undefined} title={tracker.string.MyIssues} {modeSelectorProps} />
{/if}