Web: Fix search is not defined
This commit is contained in:
parent
d96e45abb7
commit
2e17d714ca
@ -663,6 +663,7 @@ function Editor({
|
||||
|
||||
const getBackUrl = () => {
|
||||
if (!fileInfo) return;
|
||||
const search = window.location.search;
|
||||
const shareIndex = search.indexOf("share=");
|
||||
const key = search.substring(shareIndex + 6);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user