Randome things
This commit is contained in:
parent
a2c9e0254c
commit
51358cd4bc
@ -44,7 +44,6 @@ export class PreviewPopupComponent implements OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get isPdf(): boolean {
|
get isPdf(): boolean {
|
||||||
// We dont have time to retrieve metadata, make a best guess by file name
|
|
||||||
return (
|
return (
|
||||||
this.document?.archived_file_name?.length > 0 ||
|
this.document?.archived_file_name?.length > 0 ||
|
||||||
this.document?.mime_type?.includes('pdf')
|
this.document?.mime_type?.includes('pdf')
|
||||||
|
@ -72,7 +72,6 @@ import { DeletePagesConfirmDialogComponent } from '../common/confirm-dialog/dele
|
|||||||
import { HotKeyService } from 'src/app/services/hot-key.service'
|
import { HotKeyService } from 'src/app/services/hot-key.service'
|
||||||
import { PDFDocumentProxy } from 'ng2-pdf-viewer'
|
import { PDFDocumentProxy } from 'ng2-pdf-viewer'
|
||||||
import { DataType } from 'src/app/data/datatype'
|
import { DataType } from 'src/app/data/datatype'
|
||||||
import { log } from '@angular-devkit/build-angular/src/builders/ssr-dev-server'
|
|
||||||
|
|
||||||
enum DocumentDetailNavIDs {
|
enum DocumentDetailNavIDs {
|
||||||
Details = 1,
|
Details = 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user