merge master
authorPawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>
Thu, 26 Jul 2018 07:19:55 +0000 (09:19 +0200)
committerPawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>
Thu, 26 Jul 2018 07:19:55 +0000 (09:19 +0200)
Feature #13830

Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>

1  2 
src/store/details-panel/details-panel-action.ts

index f37907d229a4a3d945c34f06c66c7b8b05c96d45,974346e6e0c0cc79aacf7af242f0cfc925257c48..03212b9fc915bacfbc08f22d367d393b1f26b14b
@@@ -28,12 -28,12 +28,12 @@@ export const loadDetails = (uuid: strin
  
  const getService = (kind: ResourceKind) => {
      switch (kind) {
 -        case ResourceKind.Project:
 +        case ResourceKind.PROJECT:
-             return new CommonResourceService(serverApi, "groups");
+             return new CommonResourceService(apiClient, "groups");
 -        case ResourceKind.Collection:
 +        case ResourceKind.COLLECTION:
-             return new CommonResourceService(serverApi, "collections");
+             return new CommonResourceService(apiClient, "collections");
          default:
-             return new CommonResourceService(serverApi, "");
+             return new CommonResourceService(apiClient, "");
      }
  };