parent
65d25fc3f9
commit
6a21776124
|
@ -661,7 +661,8 @@ export default Vue.extend({
|
||||||
|
|
||||||
getSettings() {
|
getSettings() {
|
||||||
this.$api.getSettings().then((data) => {
|
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.
|
// Serialize the `email_headers` array map to display on the form.
|
||||||
for (let i = 0; i < d.smtp.length; i += 1) {
|
for (let i = 0; i < d.smtp.length; i += 1) {
|
||||||
d.smtp[i].strEmailHeaders = JSON.stringify(d.smtp[i].email_headers, null, 4);
|
d.smtp[i].strEmailHeaders = JSON.stringify(d.smtp[i].email_headers, null, 4);
|
||||||
|
|
Loading…
Reference in New Issue