2025-01-28 08:27:37 +01:00
|
|
|
import { Pipe, PipeTransform } from '@angular/core';
|
2024-09-17 07:47:38 +02:00
|
|
|
|
|
|
|
@Pipe({
|
|
|
|
name: 'text',
|
2025-01-28 08:27:37 +01:00
|
|
|
standalone: true,
|
2024-09-17 07:47:38 +02:00
|
|
|
})
|
|
|
|
export class TextPipe implements PipeTransform {
|
|
|
|
transform(value: string): string {
|
2025-01-28 08:27:37 +01:00
|
|
|
return value.replaceAll('L', 'P');
|
2024-09-17 07:47:38 +02:00
|
|
|
}
|
|
|
|
}
|