fix(files_sharing): sidebar link share password checkbox

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
pull/56278/head
skjnldsv 10 months ago committed by nextcloud-command
parent 83a0e8a7a5
commit d32878e6db
  1. 4
      apps/files_sharing/src/mixins/SharesMixin.js

@ -170,8 +170,8 @@ export default {
if (this.passwordProtectedState !== undefined) {
return this.passwordProtectedState
}
return this.share.newPassword !== undefined
|| this.share.password !== undefined
return typeof this.share.newPassword === 'string'
|| typeof this.share.password === 'string'
},
async set(enabled) {
if (enabled) {

Loading…
Cancel
Save