X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/06a7999b4f97b0ba5e7db1739f5a9531df724b86..180c2c37b635cbb7a33257d2ee9b4395553ce5e7:/src/components/details-panel-factory/items/empty-item.tsx

diff --git a/src/components/details-panel-factory/items/empty-item.tsx b/src/components/details-panel-factory/items/empty-item.tsx
index 38ef9678..b9a48723 100644
--- a/src/components/details-panel-factory/items/empty-item.tsx
+++ b/src/components/details-panel-factory/items/empty-item.tsx
@@ -3,19 +3,19 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import * as React from 'react';
-import { IconTypes } from '../../icon/icon';
-import AbstractItem from './abstract-item';
-import EmptyState from '../../empty-state/empty-state';
+import { DefaultIcon, ProjectsIcon } from '../../icon/icon';
+import { AbstractItem } from './abstract-item';
+import { EmptyState } from '../../empty-state/empty-state';
 import { EmptyResource } from '../../../models/empty';
 
-export default class EmptyItem extends AbstractItem<EmptyResource> {
-    
-    getIcon(): IconTypes {
-        return IconTypes.INBOX;
+export class EmptyItem extends AbstractItem<EmptyResource> {
+
+    getIcon(className?: string) {
+        return <ProjectsIcon className={className} />;
     }
 
-    buildDetails(): React.ReactElement<any> {
-        return <EmptyState icon={IconTypes.RATE_REVIEW}
+    buildDetails() {
+        return <EmptyState icon={DefaultIcon}
             message='Select a file or folder to view its details.' />;
     }
-}
\ No newline at end of file
+}
