mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
Rework sidebar
This commit is contained in:
12
src-angular/app/core/pipes/remove-style-tags.pipe.ts
Normal file
12
src-angular/app/core/pipes/remove-style-tags.pipe.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Pipe, PipeTransform } from '@angular/core'
|
||||
|
||||
import { removeStyleTags } from 'src-shared/UtilFunctions'
|
||||
|
||||
@Pipe({
|
||||
name: 'removeStyleTags',
|
||||
})
|
||||
export class RemoveStyleTagsPipe implements PipeTransform {
|
||||
transform(value: string | null): string {
|
||||
return value ? removeStyleTags(value) : 'N/A'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user