inspector: restore missing separator label

This commit is contained in:
jean-emmanuel 2025-09-23 22:30:22 +02:00
parent e8ecb121f5
commit af2a771b7d
2 changed files with 4 additions and 1 deletions

View file

@ -163,7 +163,9 @@ class Widget extends EventEmitter {
if (this[i] === undefined) this[i] = {}
for (let j in obj[i]) {
if (obj[i][j] === null) delete this[i][j]
else {
else if (j[0] === '_') {
this[i][j] = obj[i][j]
} else {
if (!this[i][j]) this[i][j] = {}
Object.assign(this[i][j], obj[i][j])
}