Web: Editor: Fixed url after converting.
This commit is contained in:
parent
b8f77d4a29
commit
659a5a409b
@ -260,7 +260,6 @@ const Editor = () => {
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
if (successAuth) {
|
||||
try {
|
||||
fileInfo = await getFileInfo(fileId);
|
||||
@ -269,7 +268,8 @@ const Editor = () => {
|
||||
const needConvert = canConvert(fileInfo.fileExst);
|
||||
|
||||
if (needConvert) {
|
||||
location.href = await convertDocumentUrl();
|
||||
const url = await convertDocumentUrl();
|
||||
history.pushState({}, null, url);
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user