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

Simplify details routes by checking with wildcard

Oliver Günthera017a0424108
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 3e451fe65fc..41453652729 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
@@ -113,9 +113,7 @@ export class KeepTabService {
return this.$state.includes('work-packages.show.*');
}
if (stateName === 'details') {
- return this.$state.includes('bim.partitioned.split.details.*') ||
- this.$state.includes('work-packages.partitioned.list.details.*') ||
- this.$state.includes('boards.partitioned.show.details.*');
+ return this.$state.includes('**.details.*');
}
return false;