X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d44aed1e3141d8e5491b949415c99f594ee79c21..9ec2e259bd565aea710cdae34d8cba433b09a749:/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 e0f60d40b0..356ccc2cf9 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 { 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;
+    getIcon(className?: string): React.ReactElement<any> {
+        return ProjectsIcon(className);
     }
 
     buildDetails(): React.ReactElement<any> {
-        return <EmptyState icon={IconTypes.FOLDER}
+        return <EmptyState icon={DefaultIcon}
             message='Select a file or folder to view its details.' />;
     }
 }
\ No newline at end of file
