From 38ac4db03560200df2517ed7e06e555828ce0a15 Mon Sep 17 00:00:00 2001 From: Petri Hienonen Date: Sun, 28 Sep 2025 16:25:48 +0300 Subject: Update --- static/structured-editor.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'static/structured-editor.js') diff --git a/static/structured-editor.js b/static/structured-editor.js index c419024..e5bd45f 100644 --- a/static/structured-editor.js +++ b/static/structured-editor.js @@ -296,9 +296,7 @@ class StructuredEditor { this.schema[section].items ) { // Array section item - if ( - this.schema[section].items[index]?.[key] - ) { + if (this.schema[section].items[index]?.[key]) { this.schema[section].items[index][key].value = value || null; } } -- cgit v1.2.3-70-g09d2