Fix incorrectly updated conditions
This commit is contained in:
parent
cddb50cc22
commit
3db3ccfc41
|
@ -11,7 +11,7 @@
|
||||||
- if APP_CONFIG.dig(:features, :discover, :enabled) || current_user.mod?
|
- if APP_CONFIG.dig(:features, :discover, :enabled) || current_user.mod?
|
||||||
= nav_entry t('views.navigation.discover'), discover_path
|
= nav_entry t('views.navigation.discover'), discover_path
|
||||||
%ul.nav.navbar-nav
|
%ul.nav.navbar-nav
|
||||||
- unless @user.nil? && @user == current_user
|
- if @user.present? && @user != current_user
|
||||||
%li.nav-item.d-none.d-sm-block{ data: { toggle: 'tooltip', placement: 'bottom' }, title: t('views.actions.list') }
|
%li.nav-item.d-none.d-sm-block{ data: { toggle: 'tooltip', placement: 'bottom' }, title: t('views.actions.list') }
|
||||||
%a.nav-link{ href: '#', data: { target: '#modal-list-memberships', toggle: :modal } }
|
%a.nav-link{ href: '#', data: { target: '#modal-list-memberships', toggle: :modal } }
|
||||||
%i.fa.fa-list.hidden-xs
|
%i.fa.fa-list.hidden-xs
|
||||||
|
|
Loading…
Reference in New Issue