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
Props
Oliver Günther04b30f16ac27
diff --git a/frontend/src/app/shared/components/calendar/op-calendar.service.ts b/frontend/src/app/shared/components/calendar/op-calendar.service.tsindex dd53600c499..9c16fa99c20 100644--- a/frontend/src/app/shared/components/calendar/op-calendar.service.ts+++ b/frontend/src/app/shared/components/calendar/op-calendar.service.ts@@ -158,6 +158,11 @@ export class OpCalendarService extends UntilDestroyedMixin {fetchInfo:{ start:Date, end:Date, timeZone:string },projectIdentifier:string|undefined,):Promise<unknown> {+ if (this.areFiltersEmpty && this.querySpace.query.value) {+ // nothing to do+ return Promise.resolve();+ }+const startDate = moment(fetchInfo.start).format('YYYY-MM-DD');const endDate = moment(fetchInfo.end).format('YYYY-MM-DD');@@ -198,16 +203,14 @@ export class OpCalendarService extends UntilDestroyedMixin {} else {queryProps = this.urlParamsHelper.encodeQueryJsonParams(this.querySpace.query.value as QueryResource,- (props) => {- return {- ...props,- pa: OpCalendarService.MAX_DISPLAYED,- f: [- ...props.f.filter((filter) => filter.n !== 'datesInterval'),- OpCalendarService.dateFilter(startDate, endDate),- ],- };- },+ (props) => ({+ ...props,+ pa: OpCalendarService.MAX_DISPLAYED,+ f: [+ ...props.f.filter((filter) => filter.n !== 'datesInterval'),+ OpCalendarService.dateFilter(startDate, endDate),+ ],+ }),);}