TSK-943:General Status support (#2842)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-04-04 13:11:49 +07:00
committed by GitHub
parent 17ccbb1512
commit 585d82320e
110 changed files with 2816 additions and 1819 deletions
@@ -13,7 +13,7 @@
// limitations under the License.
-->
<script lang="ts">
import { Ref, SortingOrder, WithLookup } from '@hcengineering/core'
import core, { Ref, SortingOrder, WithLookup } from '@hcengineering/core'
import { createQuery } from '@hcengineering/presentation'
import { Issue, IssueStatus } from '@hcengineering/tracker'
import {
@@ -101,7 +101,7 @@
sort: { modifiedOn: SortingOrder.Descending },
lookup: {
space: tracker.class.Project,
status: [tracker.class.IssueStatus, { category: tracker.class.IssueStatusCategory }]
status: [tracker.class.IssueStatus, { category: core.class.StatusCategory }]
}
}
)
@@ -29,7 +29,8 @@
} from '@hcengineering/ui'
import { getIssueId } from '../../../issues'
import tracker from '../../../plugin'
import { statusStore, subIssueListProvider } from '../../../utils'
import { subIssueListProvider } from '../../../utils'
import { statusStore } from '@hcengineering/presentation'
export let value: WithLookup<Issue>
export let currentProject: Project | undefined = undefined