Skip to content

Commit

Permalink
Merge pull request #16407 from opf/bug/57154-project-filter-in-notifi…
Browse files Browse the repository at this point in the history
…cation-center-is-not-correctly-highlighted

[57154] Project filter in notification center is not correctly highlighted
  • Loading branch information
aaron-contreras authored Aug 12, 2024
2 parents a30060b + 662856b commit 70141f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/menus/notifications/menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def query_params(filter, name)
end

def selected?(query_params)
params[:filter] == query_params[:filter] && params[:name] == query_params[:name]
params[:filter] == query_params[:filter] && params[:name] == query_params[:name].to_s
end

def query_path(query_params)
Expand Down

0 comments on commit 70141f2

Please sign in to comment.