Browse Source

web-ui: Rename TransactionFinder to Finder

scalafmt-draft
Alexis Hernandez 7 years ago
parent
commit
6674991d8e
  1. 4
      web-ui/src/app/app.module.ts
  2. 0
      web-ui/src/app/components/finder/finder.component.css
  3. 0
      web-ui/src/app/components/finder/finder.component.html
  4. 10
      web-ui/src/app/components/finder/finder.component.spec.ts
  5. 8
      web-ui/src/app/components/finder/finder.component.ts
  6. 2
      web-ui/src/app/components/home/home.component.html

4
web-ui/src/app/app.module.ts

@ -25,7 +25,7 @@ import { HomeComponent } from './components/home/home.component';
import { FooterComponent } from './components/footer/footer.component'; import { FooterComponent } from './components/footer/footer.component';
import { NavbarComponent } from './components/navbar/navbar.component'; import { NavbarComponent } from './components/navbar/navbar.component';
import { TransactionDetailsComponent } from './components/transaction-details/transaction-details.component'; import { TransactionDetailsComponent } from './components/transaction-details/transaction-details.component';
import { TransactionFinderComponent } from './components/transaction-finder/transaction-finder.component'; import { FinderComponent } from './components/finder/finder.component';
import { AddressDetailsComponent } from './components/address-details/address-details.component'; import { AddressDetailsComponent } from './components/address-details/address-details.component';
import { BlockDetailsComponent } from './components/block-details/block-details.component'; import { BlockDetailsComponent } from './components/block-details/block-details.component';
@ -36,7 +36,7 @@ import { BlockDetailsComponent } from './components/block-details/block-details.
FooterComponent, FooterComponent,
NavbarComponent, NavbarComponent,
TransactionDetailsComponent, TransactionDetailsComponent,
TransactionFinderComponent, FinderComponent,
AddressDetailsComponent, AddressDetailsComponent,
BlockDetailsComponent BlockDetailsComponent
], ],

0
web-ui/src/app/components/transaction-finder/transaction-finder.component.css → web-ui/src/app/components/finder/finder.component.css

0
web-ui/src/app/components/transaction-finder/transaction-finder.component.html → web-ui/src/app/components/finder/finder.component.html

10
web-ui/src/app/components/transaction-finder/transaction-finder.component.spec.ts → web-ui/src/app/components/finder/finder.component.spec.ts

@ -1,20 +1,20 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { TransactionFinderComponent } from './transaction-finder.component'; import { FinderComponent } from './finder.component';
describe('TransactionFinderComponent', () => { describe('TransactionFinderComponent', () => {
let component: TransactionFinderComponent; let component: FinderComponent;
let fixture: ComponentFixture<TransactionFinderComponent>; let fixture: ComponentFixture<FinderComponent>;
beforeEach(async(() => { beforeEach(async(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ TransactionFinderComponent ] declarations: [ FinderComponent ]
}) })
.compileComponents(); .compileComponents();
})); }));
beforeEach(() => { beforeEach(() => {
fixture = TestBed.createComponent(TransactionFinderComponent); fixture = TestBed.createComponent(FinderComponent);
component = fixture.componentInstance; component = fixture.componentInstance;
fixture.detectChanges(); fixture.detectChanges();
}); });

8
web-ui/src/app/components/transaction-finder/transaction-finder.component.ts → web-ui/src/app/components/finder/finder.component.ts

@ -7,11 +7,11 @@ import { NavigatorService } from '../../services/navigator.service';
import { TransactionsService } from '../../services/transactions.service'; import { TransactionsService } from '../../services/transactions.service';
@Component({ @Component({
selector: 'app-transaction-finder', selector: 'app-finder',
templateUrl: './transaction-finder.component.html', templateUrl: './finder.component.html',
styleUrls: ['./transaction-finder.component.css'] styleUrls: ['./finder.component.css']
}) })
export class TransactionFinderComponent implements OnInit { export class FinderComponent implements OnInit {
form: FormGroup; form: FormGroup;

2
web-ui/src/app/components/home/home.component.html

@ -1,3 +1,3 @@
<div> <div>
<app-transaction-finder></app-transaction-finder> <app-finder></app-finder>
</div> </div>

Loading…
Cancel
Save