mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 03:37:43 +02: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:
@@ -76,6 +76,10 @@
|
||||
query.unsubscribe()
|
||||
}
|
||||
|
||||
$: if (_class) {
|
||||
mainEditor = undefined
|
||||
}
|
||||
|
||||
let keys: KeyedAttribute[] = []
|
||||
let fieldEditors: { key: KeyedAttribute; editor: AnyComponent; category: AttributeCategory }[] = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user