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
create a string for API call
bsatarnejad7917f35e8a88
diff --git a/frontend/src/app/shared/components/baseline/baseline.component.ts b/frontend/src/app/shared/components/baseline/baseline.component.tsindex 393534f2003..eb6dda3786f 100644--- a/frontend/src/app/shared/components/baseline/baseline.component.ts+++ b/frontend/src/app/shared/components/baseline/baseline.component.ts@@ -63,6 +63,10 @@ export class OpBaselineComponent extends UntilDestroyedMixin {public selectedDate = '';+ public selectedTime = '';++ public selectedFilter = '';+public selectedTimezoneFormattedTime = '';public filterSelected = false;@@ -137,7 +141,8 @@ export class OpBaselineComponent extends UntilDestroyedMixin {public onSubmit(e:Event):void {e.preventDefault();-+ // TODO: string should be sent to the server+ const filterString = `${this.selectedFilter}@${this.selectedTime}`;this.close();}@@ -206,6 +211,7 @@ export class OpBaselineComponent extends UntilDestroyedMixin {}public timeChange(value:string):void {+ this.selectedTime = value;const timeZone = this.configuration.isTimezoneSet();if (timeZone) {this.timeZoneSelected = true;@@ -217,6 +223,7 @@ export class OpBaselineComponent extends UntilDestroyedMixin {public filterChange(value:string):void {if (value !== 'none') {this.filterSelected = true;+ this.selectedFilter = value;switch (value) {case 'oneDayAgo':this.dropDownDescription = this.yesterdayDate();