forked from abner/for-legacy-web
fix(state): save state on reset
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user