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 Elizabeth Danzberger
parent bf9bdde28e
commit c00df59310
No known key found for this signature in database
GPG key ID: 6B466A21DF5E753C

View file

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