diff --git a/resources/views/servers/show.blade.php b/resources/views/servers/show.blade.php index 1cbee4e..83b3781 100644 --- a/resources/views/servers/show.blade.php +++ b/resources/views/servers/show.blade.php @@ -66,11 +66,23 @@ RAM - {{ $server_extras[0]->ram }} {{ $server_extras[0]->ram_type }} + + @if(isset($server_extras[0]->ram)) + {{ $server_extras[0]->ram }} {{ $server_extras[0]->ram_type }} + @else + {{ $server->ram }} {{ $server->ram_type }} + @endif + Disk - {{ $server_extras[0]->disk }} {{ $server_extras[0]->disk_type }} + + @if(isset($server_extras[0]->disk)) + {{ $server_extras[0]->disk }} {{ $server_extras[0]->disk_type }} + @else + {{ $server->disk }} {{ $server->disk_type }} + @endif + Bandwidth