From e81c8a3c4146db264d3c5ceccc2a89b9f994678f Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Tue, 1 Feb 2022 16:02:27 +0700 Subject: [PATCH] Closes #894 (#895) Signed-off-by: Andrey Sobolev --- .../src/components/state/DoneStateEditor.svelte | 12 +++++++++++- .../src/components/state/DoneStatesPopup.svelte | 5 ++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/plugins/task-resources/src/components/state/DoneStateEditor.svelte b/plugins/task-resources/src/components/state/DoneStateEditor.svelte index 4e89fa016f..76d59ff53a 100644 --- a/plugins/task-resources/src/components/state/DoneStateEditor.svelte +++ b/plugins/task-resources/src/components/state/DoneStateEditor.svelte @@ -52,7 +52,7 @@ if (result) { value = result._id onChange(value) - } else if (result == null) { + } else if (result === null) { value = null onChange(value) } @@ -65,6 +65,16 @@ {#if state} {:else} +
+ \ No newline at end of file diff --git a/plugins/task-resources/src/components/state/DoneStatesPopup.svelte b/plugins/task-resources/src/components/state/DoneStatesPopup.svelte index cd7b3b90de..19d362917e 100644 --- a/plugins/task-resources/src/components/state/DoneStatesPopup.svelte +++ b/plugins/task-resources/src/components/state/DoneStatesPopup.svelte @@ -60,9 +60,8 @@ dispatch('close', null) }} > -
-
+
+