Web:Files:Fix display images in media viewer.
This commit is contained in:
parent
cfa53b3450
commit
a1eb764f2b
@ -46,7 +46,7 @@ const FilesMediaViewer = (props) => {
|
||||
|
||||
const onButtonBackHandler = () => {
|
||||
const hash = window.location.hash;
|
||||
const id = +hash.slice(9);
|
||||
const id = hash.slice(9);
|
||||
if (!id) {
|
||||
setMediaViewerData({ visible: false, id: null });
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user