Merge pull request #48875 from nextcloud/backport/47745/stable28

This commit is contained in:
John Molakvoæ 2024-10-25 08:26:10 +02:00 committed by GitHub
commit 3e8a6744c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View file

@ -97,7 +97,8 @@ export default defineComponent({
* Either the nodes filename or a custom display name (e.g. for shares)
*/
displayName() {
return this.source.displayname
// basename fallback needed for apps using old `@nextcloud/files` prior 3.6.0
return this.source.displayname || this.source.basename
},
/**
* The display name without extension

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long