Don't show an error in the listing if the server is still installing or suspended

This commit is contained in:
Dane Everitt 2020-04-25 17:58:09 -07:00
parent f45c03a449
commit c4f4f1f5c8
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 18 additions and 5 deletions

View file

@ -56,6 +56,8 @@ class ServerTransformer extends BaseClientTransformer
'databases' => $server->database_limit,
'allocations' => $server->allocation_limit,
],
'is_suspended' => $server->suspended !== 0,
'is_installing' => $server->installed !== 1,
];
}