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

fix(files): Fix error with numeric filenames
pull/44571/head
Pytal 2024-03-28 14:24:30 +07:00 committed by GitHub
commit 8afd99c206
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

@ -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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long