From a259f7c9af90fa09f963ad7d665d4fe00d081da5 Mon Sep 17 00:00:00 2001 From: Vyacheslav Tumanov Date: Fri, 24 Mar 2023 14:44:10 +0500 Subject: [PATCH] TSK-941: fix incorrect rewriting space after selecting in SpaceSelect (#2827) Signed-off-by: Vyacheslav Tumanov --- plugins/view-resources/src/components/Move.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/view-resources/src/components/Move.svelte b/plugins/view-resources/src/components/Move.svelte index 701326fc1a..fa48aeee7e 100644 --- a/plugins/view-resources/src/components/Move.svelte +++ b/plugins/view-resources/src/components/Move.svelte @@ -40,7 +40,7 @@ let classLabel = '' $: { const doc = docs[0] - space = doc.space + if (space === undefined) space = doc.space translate(hierarchy.getClass(doc._class).label, {}).then((res) => (label = res.toLocaleLowerCase())) } $: _class && translate(_class, {}).then((res) => (classLabel = res.toLocaleLowerCase()))