mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-10 22:53:06 +08:00
Merge pull request #579 from gazvoda/lg-SCI-1214
Tab Teams is highlighted when in Audit trails [fixes SCI-1214]
This commit is contained in:
commit
ca72133e2b
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ module UserSettingsHelper
|
|||
end
|
||||
|
||||
def on_settings_team_page?
|
||||
controller_name == 'teams' &&
|
||||
action_name.in?(%w(index new create show))
|
||||
controller_name.in?(%w(teams audits)) &&
|
||||
action_name.in?(%w(index new create show audits_index))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue