Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#46206] Upload Progress Toast vanishes too early

Eric Schubertc74ae67710a9
diff --git a/frontend/src/app/shared/components/storages/storage/storage.component.ts b/frontend/src/app/shared/components/storages/storage/storage.component.ts
index 788a9608fe4..06d9e80be53 100644
--- a/frontend/src/app/shared/components/storages/storage/storage.component.ts
+++ b/frontend/src/app/shared/components/storages/storage/storage.component.ts
@@ -346,10 +346,10 @@ export class StorageComponent extends UntilDestroyedMixin implements OnInit, OnD
return observable
.pipe(
+ filter((ev) => ev.type === HttpEventType.Response),
tap(() => {
setTimeout(() => this.toastService.remove(notification), 700);
}),
- filter((ev) => ev.type === HttpEventType.Response),
map((ev:HttpResponse<FileUploadResponse>) => ev.body),
map((data) => {
if (data === null) {