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:
@@ -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] : '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user