diff options
author | Christopher Ng <chrng8@gmail.com> | 2024-03-28 11:22:58 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2024-03-28 11:22:58 -0700 |
commit | 6ed1b982646a5a77deb917123ca1853a5e17a911 (patch) | |
tree | fd44cbad4fc8f2f13e10f5b737977efc76315b8a | |
parent | cc5e54d6e8044a3efb6ad04697b05abf65511d76 (diff) | |
download | nextcloud-server-6ed1b982646a5a77deb917123ca1853a5e17a911.tar.gz nextcloud-server-6ed1b982646a5a77deb917123ca1853a5e17a911.zip |
fix(files): Fix error with numeric filenames
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-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 |