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

refresh the page after deleting a wp in boards similar to adding wp

bsatarnejad21161d45801a
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.ts
index 98703892519..c7b8566bc36 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
@@ -63,7 +63,12 @@ export class BackRoutingService {
this.$state.go(baseRoute + this.keepTab.currentDetailsSubState, this.backRoute.params);
}
} else {
- this.$state.go(this.backRoute.name, this.backRoute.params);
+ if (this.backRoute.parent) {
+ this.$state.go(this.backRoute.name, this.backRoute.params).then(() => { this.$state.reload(); });
+ }
+ else {
+ this.$state.go(this.backRoute.name, this.backRoute.params);
+ }
}
}
}