mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 05:07:43 +02:00
EZQMS-602: Moved Rank type to core (utilities stay in its own package) (#5019)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
-->
|
||||
<script lang="ts">
|
||||
import core, { AttachedData, FindOptions, Ref, SortingOrder } from '@hcengineering/core'
|
||||
import core, { AttachedData, FindOptions, type Rank, Ref, SortingOrder } from '@hcengineering/core'
|
||||
import { ObjectPopup, getClient } from '@hcengineering/presentation'
|
||||
import { makeRank } from '@hcengineering/task'
|
||||
import { Issue, IssueDraft } from '@hcengineering/tracker'
|
||||
@@ -42,7 +42,7 @@
|
||||
parentIssue?._id !== docValue.attachedTo &&
|
||||
parentIssue?._id !== docValue._id
|
||||
) {
|
||||
let rank: string | null = null
|
||||
let rank: Rank | null = null
|
||||
|
||||
if (parentIssue) {
|
||||
const lastAttachedIssue = await client.findOne<Issue>(
|
||||
|
||||
Reference in New Issue
Block a user