mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-28 01:26:14 +00:00
@@ -1,10 +1,9 @@
|
||||
import { Pipe, PipeTransform } from '@angular/core';
|
||||
import { Pipe, PipeTransform } from '@angular/core'
|
||||
|
||||
@Pipe({
|
||||
name: 'documentTitle'
|
||||
name: 'documentTitle',
|
||||
})
|
||||
export class DocumentTitlePipe implements PipeTransform {
|
||||
|
||||
transform(value: string): string {
|
||||
if (value) {
|
||||
return value
|
||||
@@ -12,5 +11,4 @@ export class DocumentTitlePipe implements PipeTransform {
|
||||
return $localize`(no title)`
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user