Skip to content

Commit

Permalink
[#59947] Clicking on recurring meetings, "My meetings" stays selected
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Dec 9, 2024
1 parent 22f0a8d commit 36b92da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/meeting/app/menus/meetings/menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def top_level_menu_items
my_meetings_href = polymorphic_path([project, :meetings])

[
menu_item(title: I18n.t(:label_my_meetings), selected: params[:current_href] == my_meetings_href),
menu_item(title: I18n.t(:label_my_meetings),
selected: params[:current_href] == my_meetings_href && params[:filters].blank?),
recurring_menu_item,
menu_item(title: I18n.t(:label_all_meetings),
query_params: { filters: all_filter })
Expand Down

0 comments on commit 36b92da

Please sign in to comment.