feat: add create fixed deposit product component (#471)

- Add fixed deposit product stepper components
- Add fixed deposit product component

Fixes: #192
This commit is contained in:
Abhay Chawla
2019-12-01 23:20:51 +03:00
parent 90be946675
commit be7d006e04
47 changed files with 2923 additions and 8 deletions
+4 -1
View File
@@ -6,7 +6,10 @@ import { Pipe, PipeTransform } from '@angular/core';
export class FindPipe implements PipeTransform {
transform(value: any, options: any, key: string, property: string): any {
const optionFound = options.find((option: any) => option[key] === value);
let optionFound;
if (options) {
optionFound = options.find((option: any) => option[key] === value);
}
return optionFound ? optionFound[property] : '';
}