summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/pages/Home.vue16
-rw-r--r--app/src/store.js14
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',
},
};
},