Updated empty checks on misc and dns index

Updated empty checks on misc and dns index
This commit is contained in:
cp6 2022-03-03 11:53:42 +11:00
parent 35eb6baa10
commit fbcf8d66de
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@if(!empty($dn)) @if(!empty($dn[0]))
@foreach($dn as $dns) @foreach($dn as $dns)
<tr> <tr>
<td class="text-nowrap">{{ $dns->dns_type}}</td> <td class="text-nowrap">{{ $dns->dns_type}}</td>

View File

@ -24,7 +24,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@if(!empty($misc)) @if(!empty($misc[0]))
@foreach($misc as $m) @foreach($misc as $m)
<tr> <tr>
<td class="text-nowrap">{{$m->name}}</td> <td class="text-nowrap">{{$m->name}}</td>