瀏覽代碼

fix(files): Fix error with numeric filenames

Signed-off-by: Christopher Ng <chrng8@gmail.com>
pull/44562/head
Christopher Ng 3 月之前
父節點
當前提交
6ed1b98264
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      apps/files/src/components/FileEntryMixin.ts

+ 1
- 1
apps/files/src/components/FileEntryMixin.ts 查看文件

@@ -95,7 +95,7 @@ export default defineComponent({
},
displayName() {
const ext = this.extension
const name = (this.source.attributes.displayName
const name = String(this.source.attributes.displayName
|| this.source.basename)

// Strip extension from name if defined

Loading…
取消
儲存