Don't handle UI editor event when using yaml editor (#22176)

This commit is contained in:
Paul Bottein 2024-10-01 15:11:54 +02:00 committed by GitHub
parent f30603753e
commit f9814f35d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -317,6 +317,7 @@ export abstract class HuiElementEditor<
private _handleUIConfigChanged(ev: UIConfigChangedEvent<T>) {
ev.stopPropagation();
if (!this.GUImode) return;
const config = ev.detail.config;
Object.keys(config).forEach((key) => {
if (config[key] === undefined) {