Web: Files: fixed icon name typo

This commit is contained in:
Viktor Fomin 2021-01-22 11:22:43 +03:00
parent a5978c676b
commit 02974a973b
5 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

View File

Before

Width:  |  Height:  |  Size: 532 B

After

Width:  |  Height:  |  Size: 532 B

View File

Before

Width:  |  Height:  |  Size: 547 B

After

Width:  |  Height:  |  Size: 547 B

View File

Before

Width:  |  Height:  |  Size: 686 B

After

Width:  |  Height:  |  Size: 686 B

View File

@ -508,7 +508,7 @@ export const getFileIcon = (
) => {
const folderPath = `images/icons/${size}`;
if (archive) return `${folderPath}/file_arcive.svg`;
if (archive) return `${folderPath}/file_archive.svg`;
if (image) return `${folderPath}/image.svg`;
@ -1645,7 +1645,7 @@ export const getIconSrc = (ext, size = 24) => {
const folderPath = `images/icons/${size}`;
if (presentInArray(archiveFormats, ext, true))
return `${folderPath}/file_arcive.svg`;
return `${folderPath}/file_archive.svg`;
if (presentInArray(imageFormats, ext, true))
return `${folderPath}/image.svg`;