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

Add back disabled reason to notification setting inline create project selection

Benjamin Bädorf3b9dbdeac86b
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.ts b/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.ts
index 4b399922630..9fd9e279b27 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.ts
+++ b/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.ts
@@ -57,6 +57,7 @@ export class NotificationSettingInlineCreateComponent {
disabled: !!this.settings.controls.find(
(projectSetting) => (projectSetting.get('project')!.value as NotificationSettingProjectOption).href === project.href,
),
+ disabledReason: this.text.already_selected,
}));
}
}