fix(state): save state on reset
parent
b106e88b76
commit
96a9bb776c
|
|
@ -248,6 +248,8 @@ export default class State {
|
||||||
this.settings = new Settings();
|
this.settings = new Settings();
|
||||||
this.sync = new Sync(this);
|
this.sync = new Sync(this);
|
||||||
|
|
||||||
|
this.save();
|
||||||
|
|
||||||
this.persistent = [];
|
this.persistent = [];
|
||||||
this.register();
|
this.register();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue