fix(files_sharing): sidebar link share password checkbox

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
skjnldsv 2025-11-07 08:44:18 +01:00 committed by nextcloud-command
parent 83a0e8a7a5
commit d32878e6db

View file

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