mirror of
https://github.com/nextcloud/server.git
synced 2024-08-18 02:10:32 +02:00
fix(files): Fix error with numeric filenames
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
cc5e54d6e8
commit
6ed1b98264
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user