]> source.dussan.org Git - nextcloud-server.git/commit
Remove `newPassword` from share model, if disabled
authorfenn-cs <fenn25.fn@gmail.com>
Wed, 6 Dec 2023 21:05:57 +0000 (22:05 +0100)
committerfenn-cs <fenn25.fn@gmail.com>
Wed, 6 Dec 2023 21:11:27 +0000 (22:11 +0100)
commite73a54906e4d0b1c0c8327275e601e12bdfe1f7f
tree6fd1122cd90e152e27d2a776811a08fa33ade0a1
parent06314a37c15ea90df47f295d8add6d1c3c8544cd
Remove `newPassword` from share model, if disabled

It's important to delete the `newPassword` prop from the share
 model, if the user unchecks the isPasswordProtected checkbox.

This clearer and allows for the unchecking to actually work as
`this.$set()` fails with the falsy value `''`.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
apps/files_sharing/src/views/SharingDetailsTab.vue