11 lines
369 B
TypeScript
11 lines
369 B
TypeScript
import { Pipe, PipeTransform } from '@angular/core';
|
|
import { EnumUtils } from '@app/core/services/utilities/enum-utils.service';
|
|
|
|
@Pipe({ name: 'LockTargetTypeFormat' })
|
|
export class LockTargetTypePipe implements PipeTransform {
|
|
constructor(private enumUtils: EnumUtils) { }
|
|
|
|
public transform(value): any {
|
|
return this.enumUtils.toLockTargetTypeString(value);
|
|
}
|
|
} |