From fc567a10409e2fd4cf17ef00d9a98af46535ab79 Mon Sep 17 00:00:00 2001 From: Ilya Oleshko Date: Mon, 20 Jun 2022 22:09:36 +0300 Subject: [PATCH] Fixed Bug 57637: Client: Files: Fixed icon size for editing item --- products/ASC.Files/Client/src/store/FilesStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/products/ASC.Files/Client/src/store/FilesStore.js b/products/ASC.Files/Client/src/store/FilesStore.js index 6aa0f8fbbe..0cbda8ed0d 100644 --- a/products/ASC.Files/Client/src/store/FilesStore.js +++ b/products/ASC.Files/Client/src/store/FilesStore.js @@ -1492,7 +1492,7 @@ class FilesStore { if (items.length && items[0].id === -1) return; //TODO: if change media collection from state remove this; - const iconSize = this.viewAs === "tile" && isMobile ? 32 : 24; + const iconSize = this.viewAs === "table" ? 24 : 32; const icon = extension ? getFileIcon(`.${extension}`, iconSize) : getFolderIcon(null, iconSize);