From 8613e05a724cdf4c6e1933238164c58327545ea5 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 16 Jan 2016 20:19:52 -0500 Subject: [PATCH] Fix display issue if node has no assigned servers --- resources/views/admin/nodes/view.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/admin/nodes/view.blade.php b/resources/views/admin/nodes/view.blade.php index 3b70a03c4..9071b1967 100644 --- a/resources/views/admin/nodes/view.blade.php +++ b/resources/views/admin/nodes/view.blade.php @@ -55,7 +55,7 @@ Memory Allocated - {{ $stats->memory }} MB of + {{ is_numeric($stats->memory) ? $stats->memory : 0 }} MB of @if(!is_null($node->memory_overallocate)) {{ $node->memory }} @else @@ -66,7 +66,7 @@ Disk Allocated - {{ $stats->disk }} MB of + {{ is_numeric($stats->disk) ? $stats->disk : 0 }} MB of @if(!is_null($node->disk_overallocate)) {{ $node->disk }} @else