mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 17:47:08 +01:00
Re-merging this branch with Reverted dev
This commit is contained in:
parent
ab0e97c1a0
commit
4b4f3e76cc
13 changed files with 35 additions and 62 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';
|
||||
import { map } from 'rxjs/operators';
|
||||
import { PaperlessDocument } from 'src/app/data/paperless-document';
|
||||
import { PaperlessDocumentMetadata } from 'src/app/data/paperless-document-metadata';
|
||||
import { DocumentService } from 'src/app/services/rest/document.service';
|
||||
import { SettingsService, SETTINGS_KEYS } from 'src/app/services/settings.service';
|
||||
import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
|
||||
|
|
@ -37,12 +36,7 @@ export class DocumentCardSmallComponent implements OnInit {
|
|||
mouseOnPreview = false
|
||||
popoverHidden = true
|
||||
|
||||
metadata: PaperlessDocumentMetadata
|
||||
|
||||
ngOnInit(): void {
|
||||
this.documentService.getMetadata(this.document?.id).subscribe(result => {
|
||||
this.metadata = result
|
||||
})
|
||||
}
|
||||
|
||||
getIsThumbInverted() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue