Browse Source

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

fix(files): Fix error with numeric filenames
Pytal 4 weeks ago
parent
commit
8afd99c206
3 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/files/src/components/FileEntryMixin.ts
  2. 0 0
      dist/files-main.js
  3. 0 0
      dist/files-main.js.map

+ 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

File diff suppressed because it is too large
+ 0 - 0
dist/files-main.js


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


Some files were not shown because too many files changed in this diff