mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
Reset editor on class change while new one loads (#2461)
Signed-off-by: Denis Bunakalya <denis.bunakalya@xored.com>
This commit is contained in:
parent
20bf706536
commit
074f417c81
@ -76,6 +76,10 @@
|
||||
query.unsubscribe()
|
||||
}
|
||||
|
||||
$: if (_class) {
|
||||
mainEditor = undefined
|
||||
}
|
||||
|
||||
let keys: KeyedAttribute[] = []
|
||||
let fieldEditors: { key: KeyedAttribute; editor: AnyComponent; category: AttributeCategory }[] = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user