Skip to content

Commit dcc498e

Browse files
committed
fix(files_sharing): clear the password after saving
Signed-off-by: Kent Delante <kent@delante.me>
1 parent 97a1d6a commit dcc498e

10 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
@@ -1091,6 +1091,11 @@ export default {
10911091
}))
10921092
}
10931093
1094+
// clear the password after saving
1095+
if (this.share.newPassword) {
1096+
this.$set(this.share, 'newPassword', undefined)
1097+
}
1098+
10941099
this.$emit('close-sharing-details')
10951100
},
10961101
/**

dist/539-539.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

dist/539-539.js.map

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

dist/539-539.js.map.license

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

dist/5538-5538.js

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

dist/5538-5538.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/5538-5538.js.map.license

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

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)