mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-20 07:10:02 +00:00
TSK-941: fix incorrect rewriting space after selecting in SpaceSelect (#2827)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
67fa0c0858
commit
a259f7c9af
@ -40,7 +40,7 @@
|
|||||||
let classLabel = ''
|
let classLabel = ''
|
||||||
$: {
|
$: {
|
||||||
const doc = docs[0]
|
const doc = docs[0]
|
||||||
space = doc.space
|
if (space === undefined) space = doc.space
|
||||||
translate(hierarchy.getClass(doc._class).label, {}).then((res) => (label = res.toLocaleLowerCase()))
|
translate(hierarchy.getClass(doc._class).label, {}).then((res) => (label = res.toLocaleLowerCase()))
|
||||||
}
|
}
|
||||||
$: _class && translate(_class, {}).then((res) => (classLabel = res.toLocaleLowerCase()))
|
$: _class && translate(_class, {}).then((res) => (classLabel = res.toLocaleLowerCase()))
|
||||||
|
Loading…
Reference in New Issue
Block a user