A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix initial upload progress > 100%
Michael Shamoon44600961d867
diff --git a/src-ui/src/app/services/consumer-status.service.ts b/src-ui/src/app/services/consumer-status.service.tsindex b2804103d..181e45e15 100644--- a/src-ui/src/app/services/consumer-status.service.ts+++ b/src-ui/src/app/services/consumer-status.service.ts@@ -33,7 +33,6 @@ export class FileStatus {case FileStatusPhase.UPLOADING:return this.currentPhaseProgress / this.currentPhaseMaxProgress * 0.2case FileStatusPhase.PROCESSING:- if (this.currentPhaseProgress > 100) this.currentPhaseProgress = 0return (this.currentPhaseProgress / this.currentPhaseMaxProgress * 0.8) + 0.2case FileStatusPhase.SUCCESS:case FileStatusPhase.FAILED:@@ -44,7 +43,7 @@ export class FileStatus {updateProgress(status: FileStatusPhase, currentProgress?: number, maxProgress?: number) {if (status >= this.phase) {this.phase = status- if (currentProgress) {+ if (currentProgress != undefined) {this.currentPhaseProgress = currentProgress}if (maxProgress) {