mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
cancel editing loses is_public
This commit is contained in:
parent
8391408bb3
commit
679c485b89
4 changed files with 8 additions and 7 deletions
|
@ -290,6 +290,7 @@ export class Editor {
|
|||
setInitialData = () => {
|
||||
const { path } = getUrlData();
|
||||
const { id } = this.getUser();
|
||||
const { is_public } = this.getState();
|
||||
const { route, stickers, provider } = this.dumpData();
|
||||
|
||||
this.initialData = {
|
||||
|
@ -301,6 +302,7 @@ export class Editor {
|
|||
route,
|
||||
stickers,
|
||||
provider,
|
||||
is_public,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue