Show Unlimited instead of 0, admin view

Guess i missed this one when i set everything to show unlimited when its 0 / -1.

Shows Unlimited disk space instead of 0 on admin about page.
This commit is contained in:
Charles Morgan 2020-05-24 00:57:30 -04:00
parent 5dbcddc862
commit 6c60305617
No known key found for this signature in database
GPG key ID: D71946CD723249BD

View file

@ -97,7 +97,13 @@
</tr>
<tr>
<td>Disk Space</td>
<td><code>{{ $server->disk }}MB</code></td>
<td>
@if($server->disk === 0)
<code>Unlimited</code>
@else
<code>{{ $server->disk }}MB</code>
@endif
</td>
</tr>
<tr>
<td>Block IO Weight</td>