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

Hide scrollable table if its empty (#9811)

Benjamin Bädorf56150d55820b
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 a184c19ea68..fe4ee0c4834 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
@@ -1,8 +1,8 @@
-<div class="op-scrollable-table">
- <table
- class="op-table"
- *ngIf="settings.length > 0"
- >
+<div
+ class="op-scrollable-table"
+ *ngIf="settings.length > 0"
+>
+ <table class="op-table">
<thead>
<tr>
<th class="op-table--cell op-table--cell_heading">