mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-02-11 23:59:31 -06:00
Oops leftover
This commit is contained in:
@@ -37,7 +37,7 @@ import { Correspondent } from 'src/app/data/correspondent'
|
||||
import { CustomField, CustomFieldDataType } from 'src/app/data/custom-field'
|
||||
import { CustomFieldInstance } from 'src/app/data/custom-field-instance'
|
||||
import { DataType } from 'src/app/data/datatype'
|
||||
import { Document, DocumentVersionInfo } from 'src/app/data/document'
|
||||
import { Document } from 'src/app/data/document'
|
||||
import { DocumentMetadata } from 'src/app/data/document-metadata'
|
||||
import { DocumentNote } from 'src/app/data/document-note'
|
||||
import { DocumentSuggestions } from 'src/app/data/document-suggestions'
|
||||
@@ -785,12 +785,6 @@ export class DocumentDetailComponent
|
||||
}
|
||||
}
|
||||
|
||||
getVersionBadge(version: DocumentVersionInfo): string {
|
||||
const checksum = version?.checksum ?? ''
|
||||
if (!checksum) return '----'
|
||||
return checksum.slice(0, 4).toUpperCase()
|
||||
}
|
||||
|
||||
// Update file preview and download target to a specific version (by document id)
|
||||
selectVersion(versionId: number) {
|
||||
this.selectedVersionId = versionId
|
||||
|
||||
Reference in New Issue
Block a user