diff options
author | Pytal <24800714+Pytal@users.noreply.github.com> | 2024-03-28 14:24:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 14:24:30 -0700 |
commit | 8afd99c2067364cc619d283914fb50bf12f9f58c (patch) | |
tree | 242a8f3af522e08f97ff31b9bb7bcbc80a097208 /apps | |
parent | cc5e54d6e8044a3efb6ad04697b05abf65511d76 (diff) | |
parent | b8e9e333e5d7014ccf0094f990903d9a4e53a8bb (diff) | |
download | nextcloud-server-8afd99c2067364cc619d283914fb50bf12f9f58c.tar.gz nextcloud-server-8afd99c2067364cc619d283914fb50bf12f9f58c.zip |
Merge pull request #44562 from nextcloud/fix/files-displayname-string
fix(files): Fix error with numeric filenames
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/src/components/FileEntryMixin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/components/FileEntryMixin.ts b/apps/files/src/components/FileEntryMixin.ts index 5834b058f12..e4e05e821e7 100644 --- a/apps/files/src/components/FileEntryMixin.ts +++ b/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 |