fix(editor): apply title save response after the title editor is destroyed (#2576)
This commit is contained in:
parent
6950a126bd
commit
db104b79eb
1 changed files with 2 additions and 1 deletions
|
|
@ -149,7 +149,8 @@ export function TitleEditor({
|
|||
},
|
||||
};
|
||||
|
||||
if (page.title !== titleEditor.getText()) return;
|
||||
if (!titleEditor.isDestroyed && page.title !== titleEditor.getText())
|
||||
return;
|
||||
|
||||
updatePageData(page);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue