Updated servers show blade

Updated servers show blade
This commit is contained in:
cp6 2022-03-05 11:28:28 +11:00
parent 87322fd2b5
commit b3ed167ed9

View File

@ -66,11 +66,23 @@
</tr> </tr>
<tr> <tr>
<td class="px-2 py-2 font-bold text-muted">RAM</td> <td class="px-2 py-2 font-bold text-muted">RAM</td>
<td>{{ $server_extras[0]->ram }} {{ $server_extras[0]->ram_type }}</td> <td>
@if(isset($server_extras[0]->ram))
{{ $server_extras[0]->ram }} {{ $server_extras[0]->ram_type }}
@else
{{ $server->ram }} {{ $server->ram_type }}
@endif
</td>
</tr> </tr>
<tr> <tr>
<td class="px-2 py-2 font-bold text-muted">Disk</td> <td class="px-2 py-2 font-bold text-muted">Disk</td>
<td>{{ $server_extras[0]->disk }} {{ $server_extras[0]->disk_type }}</td> <td>
@if(isset($server_extras[0]->disk))
{{ $server_extras[0]->disk }} {{ $server_extras[0]->disk_type }}
@else
{{ $server->disk }} {{ $server->disk_type }}
@endif
</td>
</tr> </tr>
<tr> <tr>
<td class="px-2 py-2 font-bold text-muted">Bandwidth</td> <td class="px-2 py-2 font-bold text-muted">Bandwidth</td>