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 { NavbarComponent } from './components/navbar/navbar.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 { BlockDetailsComponent } from './components/block-details/block-details.component';
@ -36,7 +36,7 @@ import { BlockDetailsComponent } from './components/block-details/block-details.
FooterComponent,
NavbarComponent,
TransactionDetailsComponent,
TransactionFinderComponent,
FinderComponent,
AddressDetailsComponent,
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 { TransactionFinderComponent } from './transaction-finder.component';
import { FinderComponent } from './finder.component';
describe('TransactionFinderComponent', () => {
let component: TransactionFinderComponent;
let fixture: ComponentFixture<TransactionFinderComponent>;
let component: FinderComponent;
let fixture: ComponentFixture<FinderComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ TransactionFinderComponent ]
declarations: [ FinderComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(TransactionFinderComponent);
fixture = TestBed.createComponent(FinderComponent);
component = fixture.componentInstance;
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';
@Component({
selector: 'app-transaction-finder',
templateUrl: './transaction-finder.component.html',
styleUrls: ['./transaction-finder.component.css']
selector: 'app-finder',
templateUrl: './finder.component.html',
styleUrls: ['./finder.component.css']
})
export class TransactionFinderComponent implements OnInit {
export class FinderComponent implements OnInit {
form: FormGroup;

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

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

Loading…
Cancel
Save