Skip to content

Commit f909158

Browse files
committed
Update admin-bar.blade.php
1 parent c4dc1af commit f909158

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/views/linkstack/modules/admin-bar.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
<span class="screen-reader-text">{{__('messages.Add Link')}}</span></a>
6262
</li>
6363
@endif
64+
@if(auth()->user()->role == 'admin')
6465
<li id="linkstack-admin-bar-defaultsp" class="menupop">
6566
<a class="ab-item" aria-haspopup="true" href="#">
6667
<svg style="top:4px;position:relative;fill:white;" xmlns="http://www.w3.org/2000/svg" height="16" width="14" viewBox="0 0 448 512"><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg>
@@ -78,6 +79,7 @@
7879
</ul>
7980
</div>
8081
</li>
82+
@endif
8183
</ul>
8284
<ul id="linkstack-admin-bar-top-secondary" class="ab-top-secondary ab-top-menu">
8385
<li id="linkstack-admin-bar-my-account" class="menupop with-avatar">

0 commit comments

Comments
 (0)