Skip to content

Commit 19092b3

Browse files
authored
Merge pull request #14 from Justes/redis-manager-fs
modify redis manager layout
2 parents f90711b + 0c05227 commit 19092b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/views/layout.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@
1313
<div class="box-body no-padding">
1414
<ul class="nav nav-pills nav-stacked">
1515
@foreach($connections as $name => $connection)
16+
@if(!empty($connection['host']))
1617
<li @if($name == $conn)class="active"@endif>
1718
<a href=" {{ route('redis-index', ['conn' => $name]) }}">
1819
<i class="fa fa-database"></i> {{ $name }} &nbsp;&nbsp;<small>[{{ $connection['host'].':'.$connection['port'] }}]</small>
1920
</a>
2021
</li>
22+
@endif
2123
@endforeach
2224
</ul>
2325
</div>

0 commit comments

Comments
 (0)