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 UserPreferences Notifciation Settings

Klaus Zanders1cb2aa86d086
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
index cb5a9ec7ef0..739bdd7b0e3 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
+++ b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
@@ -72,7 +72,7 @@
</td>
</ng-container>
</tr>
- <tr *ngIf="displaySharedOption">
+ <tr>
<th class="op-table--cell op-table--cell_soft-heading">
{{ text.shared }}
</th>
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts
index 55386a5335a..706ffa50634 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts
+++ b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts
@@ -28,8 +28,6 @@ export class NotificationSettingsTableComponent implements OnInit {
public eeShowBanners = false;
- public displaySharedOption = false;
-
public availableTimes = [
{
value: null,
@@ -89,7 +87,6 @@ export class NotificationSettingsTableComponent implements OnInit {
ngOnInit():void {
this.eeShowBanners = this.bannersService.eeShowBanners;
- this.displaySharedOption = true;
}
projectLink(href:string) {