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

Remove displaySharedOption from NotificationsSettingsPage

Klaus Zandersb8e28c166337
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
index 83fd6ee80af..d4563ad7d89 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
+++ b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
@@ -56,7 +56,6 @@
<spot-selector-field
[label]="text.shared"
[control]="form.get('shared')"
- *ngIf="displaySharedOption"
>
<input
slot="input"
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts
index bad517ee615..73e10c4267d 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts
+++ b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts
@@ -67,8 +67,6 @@ export class NotificationsSettingsPageComponent extends UntilDestroyedMixin impl
public eeShowBanners = false;
- public displaySharedOption = false;
-
public form = new UntypedFormGroup({
assignee: new UntypedFormControl(false),
responsible: new UntypedFormControl(false),
@@ -154,7 +152,6 @@ export class NotificationsSettingsPageComponent extends UntilDestroyedMixin impl
this.form.disable();
this.userId = (this.userId || this.uiRouterGlobals.params.userId) as string;
this.eeShowBanners = this.bannersService.eeShowBanners;
- this.displaySharedOption = true;
this
.currentUserService