From c1a8b898558831fe526d8e390092233f0e38c1b7 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Thu, 30 Jun 2022 10:36:15 +0700 Subject: [PATCH] Fix Issues TSK-220, TSK-221 (#2170) Signed-off-by: Andrey Sobolev --- models/task/src/index.ts | 4 ++-- packages/presentation/src/components/Card.svelte | 9 +++++++++ packages/ui/src/components/Button.svelte | 5 +++-- packages/ui/src/resize.ts | 12 +++++++----- 4 files changed, 21 insertions(+), 9 deletions(-) diff --git a/models/task/src/index.ts b/models/task/src/index.ts index 5fcdd6dcca..45722829f0 100644 --- a/models/task/src/index.ts +++ b/models/task/src/index.ts @@ -275,7 +275,7 @@ export const actionTemplates = template({ label: task.string.Archive, message: task.string.ArchiveConfirm }, - input: 'focus', + input: 'any', category: task.category.Task, query: { archived: false @@ -296,7 +296,7 @@ export const actionTemplates = template({ label: task.string.Unarchive, message: task.string.UnarchiveConfirm }, - input: 'focus', + input: 'any', category: task.category.Task, query: { archived: true diff --git a/packages/presentation/src/components/Card.svelte b/packages/presentation/src/components/Card.svelte index e0f81505fb..2467e2ce80 100644 --- a/packages/presentation/src/components/Card.svelte +++ b/packages/presentation/src/components/Card.svelte @@ -27,6 +27,8 @@ export let okLabel: IntlString = presentation.string.Create const dispatch = createEventDispatcher() + + let okProcessing = false
{}}> @@ -71,17 +73,24 @@ {/if}