mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 19:46:48 +01:00
Fix display of private items in small cards
This commit is contained in:
parent
2c96438d61
commit
e329f6cdf1
3 changed files with 11 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue