Updated session value checks

Updated session value checks
This commit is contained in:
cp6 2022-02-20 23:00:09 +11:00
parent 149d87704f
commit d920c7da6a

View File

@ -35,7 +35,7 @@
@foreach($servers as $s) @foreach($servers as $s)
<tr> <tr>
<td class="nowrap"> <td class="nowrap">
@if(Session::has('show_server_value_hostname') && Session::get('show_server_value_hostname') === '1') @if(Session::get('show_server_value_hostname') === 1)
{{ $s->hostname }} {{ $s->hostname }}
@endif @endif
</td> </td>
@ -99,12 +99,12 @@
@endif</td> @endif</td>
<td class="text-nowrap"> {{ $s->owned_since }}</td> <td class="text-nowrap"> {{ $s->owned_since }}</td>
<td class="text-nowrap"> <td class="text-nowrap">
@if(Session::has('show_server_value_ip') && Session::get('show_server_value_ip') === '1') @if(Session::get('show_server_value_ip') === 1)
{{ $s->ipv4 }} {{ $s->ipv4 }}
@endif @endif
</td> </td>
<td class="text-nowrap"> <td class="text-nowrap">
@if(Session::has('show_server_value_ip') && Session::get('show_server_value_ip') === '1') @if(Session::get('show_server_value_ip') === 1)
{{ $s->ipv6 }} {{ $s->ipv6 }}
@endif @endif
</td> </td>