X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/99baf25913557ccaa4503dd7a7891f33e009e4ac..b0de143e088973715681f7eb6c41f2dccb648c2b:/src/components/details-panel-factory/items/abstract-item.tsx diff --git a/src/components/details-panel-factory/items/abstract-item.tsx b/src/components/details-panel-factory/items/abstract-item.tsx index ae2b383fbd..a50c867be1 100644 --- a/src/components/details-panel-factory/items/abstract-item.tsx +++ b/src/components/details-panel-factory/items/abstract-item.tsx @@ -7,11 +7,8 @@ import { IconTypes } from '../../icon/icon'; import { DetailsPanelResource } from '../../../views-components/details-panel/details-panel'; export default abstract class AbstractItem { - protected item: T; - constructor(item: T) { - this.item = item; - } + constructor(protected item: T) {} getTitle(): string { return this.item.name;