mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Merge pull request #47753 from nextcloud/backport/47745/stable30
[stable30] fix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 apps
This commit is contained in:
commit
9f96455030
3 changed files with 5 additions and 4 deletions
|
|
@ -80,7 +80,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
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue