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
Put share menu item into the static menu
Klaus Zanders9ab35631b860
diff --git a/frontend/src/app/features/in-app-notifications/center/menu/menu.component.ts b/frontend/src/app/features/in-app-notifications/center/menu/menu.component.tsindex 0a9996f9125..a909de5ffab 100644--- a/frontend/src/app/features/in-app-notifications/center/menu/menu.component.ts+++ b/frontend/src/app/features/in-app-notifications/center/menu/menu.component.ts@@ -101,15 +101,14 @@ export class IanMenuComponent implements OnInit {isEnterprise: true,...this.eeGuardedDateAlertRoute,},+ {+ key: 'shared',+ title: this.I18n.t('js.notifications.menu.shared'),+ icon: 'share',+ ...getUiLinkForFilters({ filter: 'reason', name: 'shared' }),+ },];- sharedMenuItem = {- key: 'shared',- title: this.I18n.t('js.notifications.menu.shared'),- icon: 'share',- ...getUiLinkForFilters({ filter: 'reason', name: 'shared' }),- };-notificationsByProject$ = this.ianMenuService.notificationsByProject$.pipe(map((items) => items.map((item) => ({@@ -171,9 +170,7 @@ export class IanMenuComponent implements OnInit {readonly state:StateService,readonly bannersService:BannersService,readonly configurationService:ConfigurationService,- ) {- this.reasonMenuItems.push(this.sharedMenuItem);- }+ ) { }ngOnInit():void {this.ianMenuService.reload();