From afa335ba3011c44b5161ead586303bc051c64442 Mon Sep 17 00:00:00 2001 From: Anna No Date: Wed, 13 Apr 2022 11:52:36 +0700 Subject: [PATCH] fix lint formatting Signed-off-by: Anna No --- plugins/board-resources/src/components/KanbanCard.svelte | 4 ++-- plugins/lead-resources/src/components/KanbanCard.svelte | 8 ++++---- .../recruit-resources/src/components/KanbanCard.svelte | 3 +-- plugins/task-resources/src/components/KanbanCard.svelte | 4 ++-- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/plugins/board-resources/src/components/KanbanCard.svelte b/plugins/board-resources/src/components/KanbanCard.svelte index 911c174f23..e59efa3376 100644 --- a/plugins/board-resources/src/components/KanbanCard.svelte +++ b/plugins/board-resources/src/components/KanbanCard.svelte @@ -33,7 +33,6 @@ function showLead() { showPanel(board.component.EditCard, object._id, object._class, 'middle') } -
@@ -51,7 +50,8 @@ showMenu(evt) }} icon={IconMoreH} - size={'small'} /> + size={'small'} + />
diff --git a/plugins/lead-resources/src/components/KanbanCard.svelte b/plugins/lead-resources/src/components/KanbanCard.svelte index 312d7fa279..1e74d3b043 100644 --- a/plugins/lead-resources/src/components/KanbanCard.svelte +++ b/plugins/lead-resources/src/components/KanbanCard.svelte @@ -28,14 +28,13 @@ export let object: WithLookup export let dragged: boolean - function showMenu(ev?: Event): void { + function showMenu (ev?: Event): void { showPopup(ContextMenu, { object }, (ev as MouseEvent).target as HTMLElement) } - function showLead() { + function showLead () { showPanel(view.component.EditDoc, object._id, object._class, 'full') } -
@@ -53,7 +52,8 @@ showMenu(evt) }} icon={IconMoreH} - size={'small'} /> + size={'small'} + />
diff --git a/plugins/recruit-resources/src/components/KanbanCard.svelte b/plugins/recruit-resources/src/components/KanbanCard.svelte index aebeb060f5..9319644864 100644 --- a/plugins/recruit-resources/src/components/KanbanCard.svelte +++ b/plugins/recruit-resources/src/components/KanbanCard.svelte @@ -28,13 +28,12 @@ export let object: WithLookup export let dragged: boolean - function showCandidate() { + function showCandidate () { showPanel(view.component.EditDoc, object.attachedTo, object.attachedToClass, 'full') } $: todoItems = (object.$lookup?.todoItems as TodoItem[]) ?? [] $: doneTasks = todoItems.filter((it) => it.done) -
diff --git a/plugins/task-resources/src/components/KanbanCard.svelte b/plugins/task-resources/src/components/KanbanCard.svelte index 9d62f55134..f4c702ddab 100644 --- a/plugins/task-resources/src/components/KanbanCard.svelte +++ b/plugins/task-resources/src/components/KanbanCard.svelte @@ -32,7 +32,6 @@ $: todoItems = (object.$lookup?.todoItems as TodoItem[]) ?? [] $: doneTasks = todoItems.filter((it) => it.done) -
@@ -55,7 +54,8 @@ showMenu(evt) }} icon={IconMoreH} - size={'small'} /> + size={'small'} + />
{object.name}