Browse Source

web-ui: Add route for TransactionDetailsComponent

scalafmt-draft
Alexis Hernandez 7 years ago
parent
commit
e0ceb5acef
  1. 2
      web-ui/src/app/app-routing.module.ts

2
web-ui/src/app/app-routing.module.ts

@ -2,9 +2,11 @@ import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from './components/home/home.component';
import { TransactionDetailsComponent } from './components/transaction-details/transaction-details.component';
const routes: Routes = [
{ path: '', component: HomeComponent },
{ path: 'transactions/:txid', component: TransactionDetailsComponent },
{ path: '**', redirectTo: '' }
];

Loading…
Cancel
Save