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

Full view is only work-packages.show

Oliver Günther3c9469f21b62
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 f7fba3c90ca..3e451fe65fc 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
@@ -110,25 +110,20 @@ export class KeepTabService {
protected isCurrentState(stateName:string):boolean {
if (stateName === 'show') {
- let isShowState = this.$state.includes('work-packages.show.*') ||
- this.$state.includes('bims.show.*') ||
- this.$state.includes('boards.partitioned.show.*');
- return isShowState;
+ return this.$state.includes('work-packages.show.*');
}
if (stateName === 'details') {
- let isDetailsState = this.$state.includes('bim.partitioned.split.details.*') ||
- this.$state.includes('work-packages.partitioned.list.details.*') ||
- this.$state.includes('boards.partitioned.show.details.*');
- return isDetailsState;
+ return this.$state.includes('bim.partitioned.split.details.*') ||
+ this.$state.includes('work-packages.partitioned.list.details.*') ||
+ this.$state.includes('boards.partitioned.show.details.*');
}
return false;
}
public updateTabs(stateName?:string) {
- // Ignore the switch from show#activity to details#activity
+ // 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();