diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-06-22 14:49:43 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-06-22 14:49:43 +0200 |
commit | 128a4891b790ce23aee6a7e3743a55ecf6a2ca61 (patch) | |
tree | 6d349ac096aef3f8e5a11242c4bf662990337119 /app/src | |
parent | f6096a18016be63c719d2ce5a27d64363862b0fd (diff) |
Working migrations with duplicate comparison
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/pages/Home.vue | 16 | ||||
-rw-r--r-- | app/src/store.js | 14 |
2 files changed, 16 insertions, 14 deletions
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 @@ <ul v-if="from.folders"> <Folders :folder="from.folders" /> </ul> - <code> - {{ from.folders }} - </code> <h1>TO</h1> <ul v-if="to.folders"> <Folders :folder="to.folders" /> </ul> - <code> - {{ to.folders }} - </code> </div> </template> @@ -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; +} </style> 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', }, }; }, |