X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/62c2d66cbae1c97df44e9fc1c57f8bb306c38167..c038a5258d5790773ccca89a192c8c2b7dcd86cb:/src/views-components/advanced-tab-dialog/metadataTab.tsx diff --git a/src/views-components/advanced-tab-dialog/metadataTab.tsx b/src/views-components/advanced-tab-dialog/metadataTab.tsx index eea438d7e8..788b10d3a0 100644 --- a/src/views-components/advanced-tab-dialog/metadataTab.tsx +++ b/src/views-components/advanced-tab-dialog/metadataTab.tsx @@ -17,8 +17,8 @@ interface MetadataTable { uuid: string; linkClass: string; name: string; - tail: string; - head: string; + tailUuid: string; + headUuid: string; properties: any; } @@ -26,7 +26,6 @@ interface MetadataProps { items: MetadataTable[]; } - export const MetadataTab = withStyles(styles)((props: MetadataProps & WithStyles) => @@ -40,21 +39,16 @@ export const MetadataTab = withStyles(styles)((props: MetadataProps & WithStyles - {props.items.map((it: any, index: number) => { - return ( - - {tableCell(it.uuid, props.classes)} - {tableCell(it.linkClass, props.classes)} - {tableCell(it.name, props.classes)} - {tableCell(it.tailUuid, props.classes)} - {tableCell(it.headUuid, props.classes)} - {tableCell(JSON.stringify(it.properties, null, 2), props.classes)} - - ); - })} + {props.items.map((it, index) => + + {it.uuid} + {it.linkClass} + {it.name} + {it.tailUuid} + {it.headUuid} + {JSON.stringify(it.properties, null, 2)} + + )}
-); - -const tableCell = (value: string, classes: any) => - {value}; \ No newline at end of file +); \ No newline at end of file