Просмотр исходного кода

call it lender name

tags/2.037
Patrick Sun 4 лет назад
Родитель
Сommit
95be1e222b
2 измененных файлов: 3 добавлений и 3 удалений
  1. +2
    -2
      src/app/app.module.ts
  2. +1
    -1
      src/app/service/lender-name.service.ts

+ 2
- 2
src/app/app.module.ts Просмотреть файл

import { LoanSelectComponent } from './loan-select/loan-select.component'; import { LoanSelectComponent } from './loan-select/loan-select.component';
import {PopupModule} from '@progress/kendo-angular-popup'; import {PopupModule} from '@progress/kendo-angular-popup';
import { LoansAllComponent } from './loans-all/loans-all.component'; import { LoansAllComponent } from './loans-all/loans-all.component';
import {FunderNameService} from './service/funder.name.service';
import {LenderNameService} from './service/lender-name.service';






WebSocketService, WebSocketService,
LoanSummaryService, LoanSummaryService,
LoanSingleService, LoanSingleService,
FunderNameService,
LenderNameService,
{ {
provide: HTTP_INTERCEPTORS, provide: HTTP_INTERCEPTORS,
useClass: AuthHttpInterceptor, useClass: AuthHttpInterceptor,

src/app/service/funder.name.service.ts → src/app/service/lender-name.service.ts Просмотреть файл

import {tap} from 'rxjs/operators'; import {tap} from 'rxjs/operators';


@Injectable() @Injectable()
export class FunderNameService extends BehaviorSubject<string[]> {
export class LenderNameService extends BehaviorSubject<string[]> {
public loading = false; public loading = false;
constructor( private http: HttpClient, private config: AppConfig) { constructor( private http: HttpClient, private config: AppConfig) {
super(null); super(null);

Загрузка…
Отмена
Сохранить