panels: fixed them

This commit is contained in:
muerwre 2018-12-07 14:32:35 +07:00
parent d248b679ed
commit b8ba50517b
13 changed files with 171 additions and 182 deletions

View file

@ -263,7 +263,7 @@ export class Editor {
setInitialData = () => {
const { path } = getUrlData();
const { id } = this.getUser();
const { route, stickers } = this.dumpData();
const { route, stickers, provider } = this.dumpData();
this.initialData = {
version: 2,
@ -273,6 +273,7 @@ export class Editor {
path,
route,
stickers,
provider,
};
};
@ -321,6 +322,7 @@ export class Editor {
dumpData = () => ({
route: this.poly.dumpData(),
stickers: this.stickers.dumpData(),
provider: this.provider,
});
setProvider = provider => {