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
correcting the indentation
bsatarnejade62c9d4ac204
diff --git a/frontend/src/app/modules/common/back-routing/back-routing.service.ts b/frontend/src/app/modules/common/back-routing/back-routing.service.tsindex 329a720c1d2..0cf4efc2e1a 100644--- a/frontend/src/app/modules/common/back-routing/back-routing.service.ts+++ b/frontend/src/app/modules/common/back-routing/back-routing.service.ts@@ -49,35 +49,31 @@ export class BackRoutingService {}private goToOtherState(route:string, params:{}):Promise<any> {-return this.$state.go(route, params);}private goBackToDetailsState(preferListOverSplit:boolean, baseRoute:string):void {-if (preferListOverSplit) {- this.goToOtherState(baseRoute, this.backRoute.params);+ this.goToOtherState(baseRoute, this.backRoute.params);} else {- this.goToOtherState(baseRoute + this.keepTab.currentDetailsSubState, this.backRoute.params);+ this.goToOtherState(baseRoute + this.keepTab.currentDetailsSubState, this.backRoute.params);}}private goBackNotToDetailsState():void {-if (this.backRoute.parent) {- this.goToOtherState(this.backRoute.name, this.backRoute.params).then(() => { this.$state.reload(); });+ this.goToOtherState(this.backRoute.name, this.backRoute.params).then(() => { this.$state.reload(); });}else {- this.goToOtherState(this.backRoute.name, this.backRoute.params);+ this.goToOtherState(this.backRoute.name, this.backRoute.params);}}private goBackToPreviousState(preferListOverSplit:boolean, baseRoute:string):void {-if (this.keepTab.isDetailsState(this.backRoute.parent)) {- this.goBackToDetailsState(preferListOverSplit, baseRoute);+ this.goBackToDetailsState(preferListOverSplit, baseRoute);} else {- this.goBackNotToDetailsState();+ this.goBackNotToDetailsState();}}@@ -89,9 +85,9 @@ export class BackRoutingService {if (!this.backRoute && baseRoute.includes('show')) { this.$state.reload(); }else {if (!this.backRoute || this.backRoute.name.includes('new')) {- this.$state.go(baseRoute, this.$state.params);+ this.$state.go(baseRoute, this.$state.params);} else {- this.goBackToPreviousState(preferListOverSplit, baseRoute);+ this.goBackToPreviousState(preferListOverSplit, baseRoute);}}}