fix(files_sharing): sidebar link share password checkbox

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
pull/56278/head
skjnldsv 2025-11-07 08:44:18 +07:00 committed by nextcloud-command
parent 83a0e8a7a5
commit d32878e6db
1 changed files with 2 additions and 2 deletions

@ -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) {