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

Skip param check for EE token as it is not written in the URL and will thus always cause `selected?` to return false

Henriette Darge7ad59945f115
diff --git a/app/menus/submenu.rb b/app/menus/submenu.rb
index 0426fc0227a..ff9b53b2cc6 100644
--- a/app/menus/submenu.rb
+++ b/app/menus/submenu.rb
@@ -104,6 +104,7 @@ class Submenu
def selected?(query_params)
query_params.each_key do |filter_key|
+ next if filter_key == :show_enterprise_icon
if params[filter_key] != query_params[filter_key].to_s
return false
end