diff --git a/src/views/Sync.vue b/src/views/Sync.vue index ff9f22bc8f7e575092bb6f53ca3926bbb652e7cd..4b3649f507969fddc222feb6aa37c2d3a63e6a98 100644 --- a/src/views/Sync.vue +++ b/src/views/Sync.vue @@ -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() {