parent
5e341367c2
commit
b699ea89d4
|
@ -331,7 +331,9 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
saveState() {
|
saveState() {
|
||||||
this.getStorage().setItem(this.stateKey, JSON.stringify(this.panelSizes));
|
if(Array.isArray(this.panelSizes)) {
|
||||||
|
this.getStorage().setItem(this.stateKey, JSON.stringify(this.panelSizes));
|
||||||
|
}
|
||||||
},
|
},
|
||||||
restoreState() {
|
restoreState() {
|
||||||
const storage = this.getStorage();
|
const storage = this.getStorage();
|
||||||
|
|
Loading…
Reference in New Issue