User header should not display the 'go to user interface' button
This commit is contained in:
parent
79b0d8a407
commit
7cf21d5171
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
|||
= image_tag "icons/super-admin.svg"
|
||||
Passer en super-admin
|
||||
- if SwitchDeviseProfileService.new(warden).multiple_devise_profile_connect?
|
||||
- if user_signed_in? && nav_bar_profile != :usager
|
||||
- if user_signed_in? && nav_bar_profile != :user
|
||||
%li
|
||||
= link_to users_dossiers_path, class: "menu-item menu-link" do
|
||||
= image_tag "icons/switch-profile.svg"
|
||||
|
|
Loading…
Reference in a new issue