From 128a4891b790ce23aee6a7e3743a55ecf6a2ca61 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 22 Jun 2021 14:49:43 +0200 Subject: Working migrations with duplicate comparison --- app/src/pages/Home.vue | 16 +++++++++------- app/src/store.js | 14 +++++++------- 2 files changed, 16 insertions(+), 14 deletions(-) (limited to 'app/src') diff --git a/app/src/pages/Home.vue b/app/src/pages/Home.vue index 2fe4030..bfe92bf 100644 --- a/app/src/pages/Home.vue +++ b/app/src/pages/Home.vue @@ -12,17 +12,11 @@ - - {{ from.folders }} -

TO

- - {{ to.folders }} - @@ -79,7 +73,10 @@ export default { }, async migrate () { - + this.$electron.ipcRenderer.send('imap:migrate', { + from: JSON.parse(JSON.stringify(this.from)), + to: JSON.parse(JSON.stringify(this.to)), + }); }, }, }; @@ -96,4 +93,9 @@ body { display: flex; justify-content: space-between; } + +ul { + padding-left: 1em; + list-style-type: dot; +} diff --git a/app/src/store.js b/app/src/store.js index db5a9fa..818689b 100644 --- a/app/src/store.js +++ b/app/src/store.js @@ -5,15 +5,15 @@ export default createStore({ return { from: { server: 'localhost', - port: '3143', - username: 'd@cool.de', - password: 'lolo11', + port: 3143, + username: 'from@example.org', + password: 'password', }, to: { - server: '', - port: '', - username: '', - password: '', + server: 'localhost', + port: 31432, + username: 'to@example.org', + password: 'password', }, }; }, -- cgit v1.2.3