15012: Shows process context menu on all_process page items.
[arvados-workbench2.git] / src / views / link-panel / link-panel-root.tsx
index 73b53fc1e8ed3e05e4c8a8f79f91e63dc0b85785..a4c8e010bcb32d0a9617554ff87e965e76ee2e78 100644 (file)
@@ -37,7 +37,6 @@ export const linkPanelColumns: DataColumns<string> = [
         name: LinkPanelColumnNames.LINK_CLASS,
         selected: true,
         configurable: true,
-        // sortDirection: SortDirection.NONE,
         filters: createTree(),
         render: uuid => <ResourceLinkClass uuid={uuid} />
     },
@@ -45,7 +44,6 @@ export const linkPanelColumns: DataColumns<string> = [
         name: LinkPanelColumnNames.TAIL,
         selected: true,
         configurable: true,
-        // sortDirection: SortDirection.NONE,
         filters: createTree(),
         render: uuid => <ResourceLinkTail uuid={uuid} />
     },
@@ -53,7 +51,6 @@ export const linkPanelColumns: DataColumns<string> = [
         name: LinkPanelColumnNames.HEAD,
         selected: true,
         configurable: true,
-        // sortDirection: SortDirection.NONE,
         filters: createTree(),
         render: uuid => <ResourceLinkHead uuid={uuid} />
     },
@@ -61,25 +58,24 @@ export const linkPanelColumns: DataColumns<string> = [
         name: LinkPanelColumnNames.UUID,
         selected: true,
         configurable: true,
-        // sortDirection: SortDirection.NONE,
         filters: createTree(),
         render: uuid => <ResourceLinkUuid uuid={uuid} />
     }
 ];
 
-export interface LinkPanelDataProps {
+export interface LinkPanelRootDataProps {
     resources: ResourcesState;
 }
 
-export interface LinkPanelActionProps {
+export interface LinkPanelRootActionProps {
     onItemClick: (item: string) => void;
     onContextMenu: (event: React.MouseEvent<HTMLElement>, item: string) => void;
     onItemDoubleClick: (item: string) => void;
 }
 
-export type LinkPanelProps = LinkPanelDataProps & LinkPanelActionProps;
+export type LinkPanelRootProps = LinkPanelRootDataProps & LinkPanelRootActionProps;
 
-export const LinkPanelRoot = (props: LinkPanelProps) => {
+export const LinkPanelRoot = (props: LinkPanelRootProps) => {
     return <DataExplorer
         id={LINK_PANEL_ID}
         onRowClick={props.onItemClick}