[ARVADOS-WORKBENCH2] updated: 1.3.1-456-g8aefbd08
Git user
git at public.curoverse.com
Wed May 15 13:01:23 UTC 2019
Summary of changes:
src/views-components/details-panel/details-data.tsx | 2 +-
src/views-components/details-panel/details-panel.tsx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
via 8aefbd08c053d9cba911bdd107524c318125034f (commit)
from 5d2cc407a7649ca7807b78369f2f08351202cc77 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 8aefbd08c053d9cba911bdd107524c318125034f
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date: Wed May 15 15:01:15 2019 +0200
deleted-unnecessary-code
Feature #15020
Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
diff --git a/src/views-components/details-panel/details-data.tsx b/src/views-components/details-panel/details-data.tsx
index 1a67a55d..45afb02b 100644
--- a/src/views-components/details-panel/details-data.tsx
+++ b/src/views-components/details-panel/details-data.tsx
@@ -7,7 +7,7 @@ import { DetailsResource } from "~/models/details";
import { ResourceData } from "~/store/resources-data/resources-data-reducer";
export abstract class DetailsData<T extends DetailsResource = DetailsResource> {
- constructor(protected item: T, protected data?: ResourceData, protected numberOfCollectionsByPDH?: number) {}
+ constructor(protected item: T, protected data?: ResourceData) {}
getTitle(): string {
return this.item.name || 'Projects';
diff --git a/src/views-components/details-panel/details-panel.tsx b/src/views-components/details-panel/details-panel.tsx
index be255cb7..9ce84867 100644
--- a/src/views-components/details-panel/details-panel.tsx
+++ b/src/views-components/details-panel/details-panel.tsx
@@ -62,13 +62,13 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
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:
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list