Prevent invalid storages being displayed in the storages view

This commit is contained in:
Robin McCorkell 2016-01-26 10:41:59 +00:00
parent ecf2d178b1
commit 30509a479f
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ abstract class StoragesController extends Controller {
* @return DataResponse * @return DataResponse
*/ */
public function index() { public function index() {
$storages = $this->service->getAllStorages(); $storages = $this->service->getStorages();
return new DataResponse( return new DataResponse(
$storages, $storages,