mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
Fix: initial upload message not being dismissed (#7438)
This commit is contained in:
parent
4711468598
commit
5fe846de1d
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ export class UploadDocumentsService {
|
||||||
)
|
)
|
||||||
status.message = $localize`Uploading...`
|
status.message = $localize`Uploading...`
|
||||||
} else if (event.type == HttpEventType.Response) {
|
} else if (event.type == HttpEventType.Response) {
|
||||||
status.taskId = event.body['task_id']
|
status.taskId = event.body['task_id'] ?? event.body.toString()
|
||||||
status.message = $localize`Upload complete, waiting...`
|
status.message = $localize`Upload complete, waiting...`
|
||||||
this.uploadSubscriptions[file.name]?.complete()
|
this.uploadSubscriptions[file.name]?.complete()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue