Skip to content

Commit

Permalink
Fix password fields not updating settings UI.
Browse files Browse the repository at this point in the history
Closes knadh#332.
  • Loading branch information
knadh committed May 9, 2021
1 parent 65d25fc commit 6a21776
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,8 @@ export default Vue.extend({
getSettings() {
this.$api.getSettings().then((data) => {
const d = data;
const d = JSON.parse(JSON.stringify(data));
// Serialize the `email_headers` array map to display on the form.
for (let i = 0; i < d.smtp.length; i += 1) {
d.smtp[i].strEmailHeaders = JSON.stringify(d.smtp[i].email_headers, null, 4);
Expand Down

0 comments on commit 6a21776

Please sign in to comment.