Skip to content
Snippets Groups Projects
Commit a3e289c6 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] Sync: the node could not be selected

parent 7312012b
Branches
No related tags found
No related merge requests found
......@@ -18,8 +18,7 @@
<div class="form-group">
<form>
<label for="node">{{ $t('init.node.select') }}</label>
<select class="custom-select" id="node" name="node"><!-- [(ngModel)]="model.node" -->
<option value="g1.cgeek.fr:443">g1.cgeek.fr:443 ({{ $t('init.node.g1.currency') }})</option>
<select class="custom-select" id="node" v-model="node">
<option value="g1.duniter.org:443">g1.duniter.org:443 ({{ $t('init.node.g1.currency') }})</option>
<option value="g1-test.duniter.org:443">g1-test.duniter.org ({{ $t('init.node.gt.currency') }})
</option>
......@@ -90,11 +89,7 @@
public sandbox = 0
public peers = 0
public syncStarted = false
public model: {
node: string
} = {
node: 'g1.cgeek.fr:443'
}
public node = 'g1.duniter.org:443'
downloadings: SyncChunk[] = []
p2pCandidates: { [hash: string]: P2PDataCandidateType } = {}
......@@ -110,7 +105,7 @@
this.saved = 0
this.sandbox = 0
this.peers = 0
await this.$webmin.synchronize(this.model.node)
await this.$webmin.synchronize(this.node)
}
async mounted() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment