made it a terenary

This commit is contained in:
Godfrey M 2024-09-09 13:02:25 -07:00
parent ad5768d8b2
commit 57fab0268b

View file

@ -426,11 +426,7 @@ dir="{{ Helper::determineLanguageDirection() }}">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- sidebar menu: : style can be found in sidebar.less -->
@if(\App\Helpers\Helper::determineLanguageDirection() === 'rtl')
<ul class="sidebar-menu" data-widget="tree" style="margin-right:12px;">
@else
<ul class="sidebar-menu" data-widget="tree">
@endif
<ul class="sidebar-menu" data-widget="tree" style="margin-right: {{ \App\Helpers\Helper::determineLanguageDirection() === 'rtl' ? '12px' : '0px' }};">
@can('admin')
<li {!! (\Request::route()->getName()=='home' ? ' class="active"' : '') !!} class="firstnav">
<a href="{{ route('home') }}">