Browse Source

Merge pull request #44562 from nextcloud/fix/files-displayname-string

fix(files): Fix error with numeric filenames
pull/44571/head
Pytal 2 years ago
committed by GitHub
parent
commit
8afd99c206
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      apps/files/src/components/FileEntryMixin.ts
  2. 4
      dist/files-main.js
  3. 2
      dist/files-main.js.map

2
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

4
dist/files-main.js
File diff suppressed because it is too large
View File

2
dist/files-main.js.map
File diff suppressed because it is too large
View File

Loading…
Cancel
Save