Skip to content

Commit b41861a

Browse files
authored
Merge pull request #7810 from nextcloud/backport/7788/stable31
[stable31] fix(files.js): check,ether "show folder descr." is set or not
2 parents fef38c6 + 8ca069d commit b41861a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/helpers/files.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ export const addMenuRichWorkspace = () => {
118118
displayName: t('text', 'Add folder description'),
119119
category: NewMenuEntryCategory.Other,
120120
enabled(context) {
121+
if (!window?.OCA?.Text?.RichWorkspaceEnabled) {
122+
return false
123+
}
121124
if (Number(context.attributes['rich-workspace-file'])) {
122125
return false
123126
}

0 commit comments

Comments
 (0)