1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 23:42:32 +01:00

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)
<tr>
<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 }}
@endif
</td>
@ -99,12 +99,12 @@
@endif</td>
<td class="text-nowrap"> {{ $s->owned_since }}</td>
<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 }}
@endif
</td>
<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 }}
@endif
</td>