Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2021-12-27 23:30:24 +07:00 committed by GitHub
parent 484ff08b05
commit f7797f804c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,13 +15,12 @@
-->
<script lang="ts">
import core, { generateId, genRanks } from '@anticrm/core'
import type { Ref } from '@anticrm/core'
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 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 template: KanbanTemplate | undefined
@ -44,7 +43,7 @@
$: template = selectedId !== undefined ? templateMap.get(selectedId) : undefined
const client = getClient()
async function createTemplate() {
async function createTemplate () {
if (folder === undefined) {
return
}