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 { Injectable } from '@angular/core';
import { Router, Event, NavigationEnd } from '@angular/router'; import { Router, NavigationEnd } from '@angular/router';
import { filter } from 'rxjs/operator/filter'; import { ReplaySubject } from 'rxjs/ReplaySubject';
import { map } from 'rxjs/operator/map';
import { ReplaySubject } from 'rxJs/ReplaySubject';
export enum Page { export enum Page {
Bitcoin, Stratis Bitcoin, Stratis
......
...@@ -53,7 +53,7 @@ export class AdvancedComponent implements OnInit, OnDestroy { ...@@ -53,7 +53,7 @@ export class AdvancedComponent implements OnInit, OnDestroy {
} }
generateAddresses() { generateAddresses() {
this.addresses = []; this.addresses.length = 0;
this.generateAddressesSubs.disposable = this.advancedService.generateAddresses(Number(this.addressCount)) this.generateAddressesSubs.disposable = this.advancedService.generateAddresses(Number(this.addressCount))
.monitor(this.generateAddressesLoadingState) .monitor(this.generateAddressesLoadingState)
.subscribe(x => this.addresses = x); .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