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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove unused workPackage input in date alerts component
Kabiru Mwenjacf8a38c77b5a
diff --git a/frontend/src/app/features/in-app-notifications/entry/date-alert/in-app-notification-date-alert.component.ts b/frontend/src/app/features/in-app-notifications/entry/date-alert/in-app-notification-date-alert.component.tsindex 0386358b528..5a6215e4285 100644--- a/frontend/src/app/features/in-app-notifications/entry/date-alert/in-app-notification-date-alert.component.ts+++ b/frontend/src/app/features/in-app-notifications/entry/date-alert/in-app-notification-date-alert.component.ts@@ -9,7 +9,6 @@ import {import { TimezoneService } from 'core-app/core/datetime/timezone.service';import { I18nService } from 'core-app/core/i18n/i18n.service';import { IInAppNotificationDetailsAttribute, INotification } from 'core-app/core/state/in-app-notifications/in-app-notification.model';-import { WorkPackageResource } from 'core-app/features/hal/resources/work-package-resource';import * as moment from 'moment';import { Moment } from 'moment';@@ -23,8 +22,6 @@ import { Moment } from 'moment';export class InAppNotificationDateAlertComponent implements OnInit {@Input() aggregatedNotifications:INotification[];- @Input() workPackage:WorkPackageResource;-@HostBinding('class.op-ian-date-alert') className = true;@HostBinding('class.op-ian-date-alert_overdue') isOverdue:boolean;diff --git a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.html b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.htmlindex e0443e0a752..bad0d0141e3 100644--- a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.html+++ b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.html@@ -95,7 +95,6 @@<ng-container *ngIf="!hasReminderAlert"><op-in-app-notification-date-alert*ngIf="showDateAlert"- [workPackage]="workPackage"[aggregatedNotifications]="aggregatedNotifications"></op-in-app-notification-date-alert><op-in-app-notification-actors-line