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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Show total work/remaining work if set and children are present
Christophe Bliardb0a6c602d1e3
diff --git a/frontend/src/app/shared/components/fields/display/field-types/estimated-time-display-field.module.ts b/frontend/src/app/shared/components/fields/display/field-types/estimated-time-display-field.module.tsindex b76877c43e8..d4405353fb3 100644--- a/frontend/src/app/shared/components/fields/display/field-types/estimated-time-display-field.module.ts+++ b/frontend/src/app/shared/components/fields/display/field-types/estimated-time-display-field.module.ts@@ -80,7 +80,7 @@ export class EstimatedTimeDisplayField extends DisplayField {this.renderActual(element, displayText);const derived = this.derivedValue;- if (derived && derived !== this.value && this.timezoneService.toHours(derived) !== 0) {+ if (derived && this.timezoneService.toHours(derived) !== 0 && this.hasChildren()) {this.renderSeparator(element);this.renderDerived(element, this.derivedValueString);}@@ -132,4 +132,8 @@ export class EstimatedTimeDisplayField extends DisplayField {return !value && !derived;}++ private hasChildren() {+ return !!this.resource.children;+ }}