Browse Source

web-ui: Remove richest addresses and masternodes from navbar and routing

scalafmt-draft
Alexis Hernandez 7 years ago
parent
commit
f21b442554
  1. 4
      web-ui/src/app/app-routing.module.ts
  2. 2
      web-ui/src/app/components/navbar/navbar.component.ts

4
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: '' }
];

2
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) { }

Loading…
Cancel
Save