Skip to content

Commit 754ef25

Browse files
authored
Merge pull request #56278 from nextcloud/fix/sharing-password-checkbow
fix(files_sharing): sidebar link share password checkbox
2 parents 83a0e8a + 8d8f5f4 commit 754ef25

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

apps/files_sharing/src/mixins/SharesMixin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ export default {
170170
if (this.passwordProtectedState !== undefined) {
171171
return this.passwordProtectedState
172172
}
173-
return this.share.newPassword !== undefined
174-
|| this.share.password !== undefined
173+
return typeof this.share.newPassword === 'string'
174+
|| typeof this.share.password === 'string'
175175
},
176176
async set(enabled) {
177177
if (enabled) {

dist/5660-5660.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/5660-5660.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)