fix(files_sharing): sidebar link share password checkbox

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
pull/56760/head
skjnldsv 2025-11-07 08:44:18 +07:00 committed by Elizabeth Danzberger
parent bf9bdde28e
commit c00df59310
No known key found for this signature in database
GPG Key ID: 6B466A21DF5E753C
1 changed files with 2 additions and 3 deletions

@ -173,9 +173,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) {