From 8787f66c608495cb6a11adcdaa51b41d73398545 Mon Sep 17 00:00:00 2001 From: Nico Domino Date: Tue, 9 Jul 2024 10:07:29 +0200 Subject: [PATCH] fix: set fallback icon (#4293) --- app/src/lib/ext-icons/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/lib/ext-icons/index.ts b/app/src/lib/ext-icons/index.ts index 58d899c01..564fc6f73 100644 --- a/app/src/lib/ext-icons/index.ts +++ b/app/src/lib/ext-icons/index.ts @@ -31,7 +31,7 @@ export function getFileIcon(fileName: string) { splitName.shift(); } - if (iconName === '') iconName = 'file'; + if (iconName === '') iconName = 'document'; const icon = fileIcons[iconName]; return `data:image/svg+xml;base64,${convertToBase64(icon)}`; }