Randome things

This commit is contained in:
shamoon 2024-10-15 16:20:27 -07:00
parent a2c9e0254c
commit 51358cd4bc
2 changed files with 0 additions and 2 deletions

View File

@ -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')

View File

@ -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,