mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-01 21:31:04 +00:00
parent
484ff08b05
commit
f7797f804c
@ -15,13 +15,12 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import core, { generateId, genRanks } from '@anticrm/core'
|
|
||||||
import type { Ref } from '@anticrm/core'
|
import type { Ref } from '@anticrm/core'
|
||||||
import { AttributeEditor, createQuery, getClient } from '@anticrm/presentation'
|
import { AttributeEditor, createQuery, getClient } from '@anticrm/presentation'
|
||||||
import { CircleButton, IconAdd, IconMoreH, Label, showPopup } from '@anticrm/ui'
|
|
||||||
import task, { KanbanTemplate, KanbanTemplateSpace, LostStateTemplate, WonStateTemplate } from '@anticrm/task'
|
|
||||||
import { ContextMenu } from '@anticrm/view-resources'
|
|
||||||
import setting from '@anticrm/setting'
|
import setting from '@anticrm/setting'
|
||||||
|
import task, { genRanks, KanbanTemplate, KanbanTemplateSpace } from '@anticrm/task'
|
||||||
|
import { CircleButton, IconAdd, IconMoreH, Label, showPopup } from '@anticrm/ui'
|
||||||
|
import { ContextMenu } from '@anticrm/view-resources'
|
||||||
|
|
||||||
export let folder: KanbanTemplateSpace | undefined
|
export let folder: KanbanTemplateSpace | undefined
|
||||||
export let template: KanbanTemplate | undefined
|
export let template: KanbanTemplate | undefined
|
||||||
@ -44,7 +43,7 @@
|
|||||||
$: template = selectedId !== undefined ? templateMap.get(selectedId) : undefined
|
$: template = selectedId !== undefined ? templateMap.get(selectedId) : undefined
|
||||||
|
|
||||||
const client = getClient()
|
const client = getClient()
|
||||||
async function createTemplate() {
|
async function createTemplate () {
|
||||||
if (folder === undefined) {
|
if (folder === undefined) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user