more fixes regarding empty titles

This commit is contained in:
jonaswinkler
2020-12-16 16:44:54 +01:00
parent a7b6219992
commit 6aab50ed73
5 changed files with 9 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ import { Pipe, PipeTransform } from '@angular/core';
})
export class DocumentTitlePipe implements PipeTransform {
transform(value: string): unknown {
transform(value: string): string {
if (value) {
return value
} else {