Sprints List and Reports view (#2602)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-02-08 15:30:54 +07:00
committed by GitHub
parent 9c9b3091dc
commit 769c9bd341
18 changed files with 467 additions and 483 deletions
@@ -27,7 +27,7 @@
export let value: Employee | null
export let _class: Ref<Class<Project | Sprint>>
export let size: IconSize = 'x-small'
export let parentId: Ref<Project>
export let parentId: Ref<Doc>
export let defaultClass: Ref<Class<Doc>> | undefined = undefined
export let isEditable: boolean = true
export let shouldShowLabel: boolean = false
@@ -54,7 +54,7 @@
return
}
const currentParent = await client.findOne(_class, { _id: parentId })
const currentParent = await client.findOne(_class, { _id: parentId as Ref<Project> })
if (currentParent === undefined) {
return