Fix display of private items in small cards

This commit is contained in:
shamoon
2023-06-03 16:16:05 -07:00
parent 2c96438d61
commit e329f6cdf1
3 changed files with 11 additions and 3 deletions

View File

@@ -76,6 +76,10 @@ export class DocumentCardSmallComponent extends ComponentWithPermissions {
return this.documentService.getPreviewUrl(this.document.id)
}
get privateName() {
return $localize`Private`
}
getTagsLimited$() {
const limit = this.document.notes.length > 0 ? 6 : 7
return this.document.tags$.pipe(