Minor workbench fix (#1436)

Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov 2022-04-18 14:03:47 +06:00 committed by GitHub
parent b462a9d680
commit 2e5069f762
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,7 @@
await setApp(loc)
const currentFolder = loc.path[2] as Ref<Space>
if (currentSpecial === currentFolder) {
if (currentSpecial !== undefined && currentSpecial === currentFolder) {
return
} else {
const newSpecial = getSpecialComponent(currentFolder)