Commit d90c6632 authored by Paul Herbert's avatar Paul Herbert

Changes as per PR feedback (Igor), and cleared build warnings caused by casing...

Changes as per PR feedback (Igor), and cleared build warnings caused by casing in navigation.service.
parent 214e01ee
import { Injectable } from '@angular/core';
import { Router, Event, NavigationEnd } from '@angular/router';
import { filter } from 'rxjs/operator/filter';
import { map } from 'rxjs/operator/map';
import { ReplaySubject } from 'rxJs/ReplaySubject';
import { Router, NavigationEnd } from '@angular/router';
import { ReplaySubject } from 'rxjs/ReplaySubject';
export enum Page {
Bitcoin, Stratis
......
......@@ -53,7 +53,7 @@ export class AdvancedComponent implements OnInit, OnDestroy {
}
generateAddresses() {
this.addresses = [];
this.addresses.length = 0;
this.generateAddressesSubs.disposable = this.advancedService.generateAddresses(Number(this.addressCount))
.monitor(this.generateAddressesLoadingState)
.subscribe(x => this.addresses = x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment