fixes: setting up the page title

This commit is contained in:
arpitnath 2023-09-29 15:59:19 +05:30
parent 18bbb46814
commit 7a42aa613b

View file

@ -621,6 +621,7 @@ const EditorComponent = (props) => {
//!--------
const callBack = async (data, startingPageHandle, versionSwitched = false) => {
setWindowTitle(data.name);
useAppVersionStore.getState().actions.updateEditingVersion(data.editing_version);
if (!releasedVersionId || !versionSwitched) {
useAppVersionStore.getState().actions.updateReleasedVersionId(data.current_version_id);