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

ignoring show and activity and only show the overview

bsatarnejad16d7c3e14174
diff --git a/frontend/src/app/components/wp-single-view-tabs/keep-tab/keep-tab.service.ts b/frontend/src/app/components/wp-single-view-tabs/keep-tab/keep-tab.service.ts
index 8cff8e6767c..7f18ce33f14 100644
--- a/frontend/src/app/components/wp-single-view-tabs/keep-tab/keep-tab.service.ts
+++ b/frontend/src/app/components/wp-single-view-tabs/keep-tab/keep-tab.service.ts
@@ -126,6 +126,13 @@ export class KeepTabService {
}
public updateTabs(stateName?:string) {
+ // Ignore the switch from show#activity to details#activity
+ // and show details#overview instead
+
+ if (stateName === 'work-packages.show.activity') {
+ this.currentTab = 'overview';
+ return this.notify();
+ }
this.updateTab('show');
this.updateTab('details');
}