mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-09 09:20:54 +00:00
viewlet reset
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
34cecc90e1
commit
78c13683f1
@ -42,6 +42,12 @@ async function getViewlets(client: Connection, _class: Ref<Class<Obj>>): Promise
|
||||
|
||||
let selected = 0
|
||||
|
||||
function onSpace(space: Ref<Space>) {
|
||||
selected = 0
|
||||
}
|
||||
|
||||
$: onSpace(space)
|
||||
|
||||
</script>
|
||||
|
||||
{#await getViewlets(client, _class)}
|
||||
|
Loading…
Reference in New Issue
Block a user