Merge pull request #2460 from umbraco/v15/hotfix/17274

Hotfix: correct config field alias to 'useLiveEditing'
This commit is contained in:
Niels Lyngsø
2024-10-16 13:48:10 +02:00
committed by GitHub

View File

@@ -75,7 +75,7 @@ export abstract class UmbBlockManagerContext<
setEditorConfiguration(configs: UmbPropertyEditorConfigCollection) {
this._editorConfiguration.setValue(configs);
if (this._liveEditingMode.getValue() === undefined) {
this._liveEditingMode.setValue(configs.getValueByAlias<boolean>('liveEditingMode'));
this._liveEditingMode.setValue(configs.getValueByAlias<boolean>('useLiveEditing'));
}
}
getEditorConfiguration(): UmbPropertyEditorConfigCollection | undefined {