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

fix displaying progress when individual progress bar is hidden

ulferts550ce3337e15
diff --git a/frontend/src/app/modules/common/notifications/notification.component.html b/frontend/src/app/modules/common/notifications/notification.component.html
index c8e63a8d060..3d371c6d191 100644
--- a/frontend/src/app/modules/common/notifications/notification.component.html
+++ b/frontend/src/app/modules/common/notifications/notification.component.html
@@ -20,7 +20,7 @@
</a>
<span [textContent]="uploadText"></span>
</div>
- <div *ngIf="show || !canBeHidden()">
+ <div [ngClass]="{ '-hidden': !show && canBeHidden() }">
<ul class="notification-box--uploads" *ngIf="data && data.length > 0">
<notifications-upload-progress
*ngFor="let upload of data"
diff --git a/frontend/src/app/modules/common/notifications/notification.component.ts b/frontend/src/app/modules/common/notifications/notification.component.ts
index bd4dacc6307..3bc3c18399b 100644
--- a/frontend/src/app/modules/common/notifications/notification.component.ts
+++ b/frontend/src/app/modules/common/notifications/notification.component.ts
@@ -44,7 +44,7 @@ export class NotificationComponent implements OnInit {
public text = {
close_popup: this.I18n.t('js.close_popup_title'),
- }
+ };
public type:NotificationType;
public uploadCount = 0;