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

show action bar when it is needed in baseline component

bsatarnejadaf3345e1f381
diff --git a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-modal/baseline-modal.component.html b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-modal/baseline-modal.component.html
index a6e20e27fd7..82a9d5d73d5 100644
--- a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-modal/baseline-modal.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-modal/baseline-modal.component.html
@@ -25,6 +25,7 @@
</div>
</ng-container>
<op-baseline
+ [showActionBar]="true"
slot="body"
(submitted)="opened = false"
></op-baseline>
diff --git a/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.html b/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.html
index 49b2ada3e1e..f4843af14e0 100644
--- a/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.html
@@ -57,7 +57,8 @@
[textContent]="text.time_description()"></span>
</spot-form-field>
- <div class="spot-action-bar">
+ <div class="spot-action-bar"
+ *ngIf="showActionBar">
<div class="spot-action-bar--right">
<button