Skip to content

Commit 942f2c6

Browse files
leftybournesnextcloud-command
authored andcommitted
fix(files_sharing): clear the password after saving
fix(files_sharing): clear the password after saving Signed-off-by: Kent Delante <kent@delante.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent ac7f429 commit 942f2c6

9 files changed

Lines changed: 12 additions & 7 deletions

apps/files_sharing/src/views/SharingDetailsTab.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,6 +1173,11 @@ export default {
11731173
}))
11741174
}
11751175
1176+
// clear the password after saving
1177+
if (this.share.newPassword) {
1178+
this.$set(this.share, 'newPassword', undefined)
1179+
}
1180+
11761181
this.$emit('close-sharing-details')
11771182
},
11781183
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/1255-1255.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/1255-1255.js.map.license

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1255-1255.js.license

dist/9007-9007.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/9007-9007.js.map.license

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)