Web:Files:Fix display images in media viewer.

This commit is contained in:
Vlada Gazizova 2022-02-15 10:13:54 +03:00
parent cfa53b3450
commit a1eb764f2b

View File

@ -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;