Commit 97de9197 authored by dev0tion's avatar dev0tion

Revert components to CSS

parent 2c30d23c
...@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core'; ...@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
@Component({ @Component({
selector: 'sidebar', selector: 'sidebar',
templateUrl: './sidebar.component.html', templateUrl: './sidebar.component.html',
styleUrls: ['./sidebar.component.scss'] styleUrls: ['./sidebar.component.css']
}) })
export class SidebarComponent implements OnInit { export class SidebarComponent implements OnInit {
......
...@@ -10,7 +10,7 @@ import { Subscription } from 'rxjs/Subscription'; ...@@ -10,7 +10,7 @@ import { Subscription } from 'rxjs/Subscription';
@Component({ @Component({
selector: 'status-bar', selector: 'status-bar',
templateUrl: './status-bar.component.html', templateUrl: './status-bar.component.html',
styleUrls: ['./status-bar.component.scss'] styleUrls: ['./status-bar.component.css']
}) })
export class StatusBarComponent implements OnInit { export class StatusBarComponent implements OnInit {
...@@ -46,15 +46,15 @@ export class StatusBarComponent implements OnInit { ...@@ -46,15 +46,15 @@ export class StatusBarComponent implements OnInit {
if(!this.isChainSynced) { if(!this.isChainSynced) {
this.percentSynced = "syncing..."; this.percentSynced = "syncing...";
} }
else { else {
this.percentSyncedNumber = ((this.lastBlockSyncedHeight / this.chainTip) * 100); this.percentSyncedNumber = ((this.lastBlockSyncedHeight / this.chainTip) * 100);
if (this.percentSyncedNumber.toFixed(0) === "100" && this.lastBlockSyncedHeight != this.chainTip) { if (this.percentSyncedNumber.toFixed(0) === "100" && this.lastBlockSyncedHeight != this.chainTip) {
this.percentSyncedNumber = 99; this.percentSyncedNumber = 99;
} }
this.percentSynced = this.percentSyncedNumber.toFixed(0) + "%"; this.percentSynced = this.percentSyncedNumber.toFixed(0) + "%";
} }
} }
}, },
error => { error => {
......
...@@ -5,7 +5,7 @@ import { NgbModal, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; ...@@ -5,7 +5,7 @@ import { NgbModal, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
@Component({ @Component({
selector: 'transaction-details', selector: 'transaction-details',
templateUrl: './transaction-details.component.html', templateUrl: './transaction-details.component.html',
styleUrls: ['./transaction-details.component.scss'] styleUrls: ['./transaction-details.component.css']
}) })
export class TransactionDetailsComponent implements OnInit { export class TransactionDetailsComponent implements OnInit {
......
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