Browse Source

refactor: remove mock locaization pipe

pull/6651/head
Arman Ozak 6 years ago
parent
commit
a9d081a09e
  1. 10
      npm/ng-packs/packages/core/src/lib/pipes/localization.pipe.ts

10
npm/ng-packs/packages/core/src/lib/pipes/localization.pipe.ts

@ -22,13 +22,3 @@ export class LocalizationPipe implements PipeTransform {
);
}
}
@Injectable()
@Pipe({
name: 'abpLocalization',
})
export class MockLocalizationPipe implements PipeTransform {
transform(value: string | Config.LocalizationWithDefault = '', ..._: string[]) {
return typeof value === 'string' ? value : value.defaultValue;
}
}

Loading…
Cancel
Save