15407: Fixes node's properties & info handling.
[arvados-workbench2.git] / src / views-components / details-panel / details-panel.tsx
index be255cb7b378b66253075d320fcbcfb2b571949f..f4aaa8436f753face5dd8bf97a5a80eaea85f134 100644 (file)
@@ -56,19 +56,19 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
     },
     tabContainer: {
         overflow: 'auto',
-        padding: theme.spacing.unit * 3,
+        padding: theme.spacing.unit * 1,
     },
 });
 
 const EMPTY_RESOURCE: EmptyResource = { kind: undefined, name: 'Projects' };
 
-const getItem = (res: DetailsResource, resourceData?: ResourceData, numberOfCollectionsByPDH?: number): DetailsData => {
+const getItem = (res: DetailsResource, resourceData?: ResourceData): DetailsData => {
     if ('kind' in res) {
         switch (res.kind) {
             case ResourceKind.PROJECT:
                 return new ProjectDetails(res);
             case ResourceKind.COLLECTION:
-                return new CollectionDetails(res, resourceData, numberOfCollectionsByPDH);
+                return new CollectionDetails(res, resourceData);
             case ResourceKind.PROCESS:
                 return new ProcessDetails(res);
             default: