From f21b442554dc36cd57f4d761513196f2cde6daf0 Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sun, 22 Apr 2018 16:06:15 -0500 Subject: [PATCH] web-ui: Remove richest addresses and masternodes from navbar and routing --- web-ui/src/app/app-routing.module.ts | 4 ---- web-ui/src/app/components/navbar/navbar.component.ts | 2 -- 2 files changed, 6 deletions(-) diff --git a/web-ui/src/app/app-routing.module.ts b/web-ui/src/app/app-routing.module.ts index 2e1b10e..559d8ca 100644 --- a/web-ui/src/app/app-routing.module.ts +++ b/web-ui/src/app/app-routing.module.ts @@ -5,16 +5,12 @@ import { HomeComponent } from './components/home/home.component'; import { TransactionDetailsComponent } from './components/transaction-details/transaction-details.component'; import { AddressDetailsComponent } from './components/address-details/address-details.component'; import { BlockDetailsComponent } from './components/block-details/block-details.component'; -import { RichestAddressesComponent } from './components/richest-addresses/richest-addresses.component'; -import { MasternodesComponent } from './components/masternodes/masternodes.component'; const routes: Routes = [ { path: '', component: HomeComponent }, { path: 'addresses/:address', component: AddressDetailsComponent }, { path: 'blocks/:blockhash', component: BlockDetailsComponent }, - { path: 'masternodes', component: MasternodesComponent }, { path: 'transactions/:txid', component: TransactionDetailsComponent }, - { path: 'richest-addresses', component: RichestAddressesComponent }, { path: '**', redirectTo: '' } ]; diff --git a/web-ui/src/app/components/navbar/navbar.component.ts b/web-ui/src/app/components/navbar/navbar.component.ts index a389145..ff129da 100644 --- a/web-ui/src/app/components/navbar/navbar.component.ts +++ b/web-ui/src/app/components/navbar/navbar.component.ts @@ -14,8 +14,6 @@ class Tab { export class NavbarComponent implements OnInit { public tabs: Tab[] = [ - { label: 'label.richestAddresses', path: 'richest-addresses' }, - { label: 'label.masternodes', path: 'masternodes' } ]; constructor(private location: Location) { }