From 2dab20238d2db7aefe872fcb08cc33fee8733944 Mon Sep 17 00:00:00 2001 From: puri-ph4tt Date: Wed, 10 Jan 2024 17:53:09 +0700 Subject: [PATCH] =?UTF-8?q?update:=20=E0=B8=A5=E0=B8=9A.=E0=B8=99=E0=B8=B2?= =?UTF-8?q?=E0=B8=A1=E0=B8=AA=E0=B8=81=E0=B8=B8=E0=B8=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/client/src/stores/file-info-data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/client/src/stores/file-info-data.ts b/Services/client/src/stores/file-info-data.ts index 285fda4..d13bc2f 100644 --- a/Services/client/src/stores/file-info-data.ts +++ b/Services/client/src/stores/file-info-data.ts @@ -67,7 +67,7 @@ export const useFileInfoStore = defineStore('info', () => { const extension = mime.getExtension(mimeType) - if (extension) return '.' + extension + if (extension) return extension if (fileName && fileName.includes('.')) { return fileName.substring(fileName.lastIndexOf('.')) }