From c44bafac0816305a5be1d422adf9d450e09bdc3e Mon Sep 17 00:00:00 2001 From: chinons098 Date: Tue, 21 Nov 2023 21:31:45 -0500 Subject: [PATCH] minor change --- src/app/shared/system-service/file.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/system-service/file.service.ts b/src/app/shared/system-service/file.service.ts index 3ba55bfd..156cc4e8 100644 --- a/src/app/shared/system-service/file.service.ts +++ b/src/app/shared/system-service/file.service.ts @@ -99,7 +99,7 @@ export class FileService{ this._fileInfo.setCurrentPath = path; this._fileInfo.setContentPath = sc.getContentPath; this._fileInfo.setFileType = sc.getFileType; - this._fileInfo.setFileName = sc.geFileName; + this._fileInfo.setFileName = basename(path, extname(path)); this._fileInfo.setOpensWith = sc.getOpensWith; this._fileInfo.setDateModified = fileMetaData.getModifiedDate; this._fileInfo.setSize = fileMetaData.getSize;