diff --git a/apps/files/src/components/FileEntryMixin.ts b/apps/files/src/components/FileEntryMixin.ts index 83a68bfcf2370..7b0d875c88049 100644 --- a/apps/files/src/components/FileEntryMixin.ts +++ b/apps/files/src/components/FileEntryMixin.ts @@ -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