diff --git a/app/javascript/components/textual_summary/table_list_view.jsx b/app/javascript/components/textual_summary/table_list_view.jsx index 1fd977681ac..a62695ecd87 100644 --- a/app/javascript/components/textual_summary/table_list_view.jsx +++ b/app/javascript/components/textual_summary/table_list_view.jsx @@ -3,28 +3,6 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import MiqStructuredList from '../miq-structured-list'; -const simpleRow = (row, i, colOrder) => ( - - {colOrder.map((col, j) => {row[col]})} - -); - -const clickableRow = (row, i, colOrder, rowLabel, onClick) => ( - - {colOrder.map((col, j) => ( - - onClick(row, e)}> - {`${row[col]}`} - - - ))} - -); - -const renderRow = (row, i, colOrder, rowLabel, onClick) => ( - row.link ? clickableRow(row, i, colOrder, rowLabel, onClick) : simpleRow(row, i, colOrder) -); - export default function TableListView(props) { const { headers, values, title } = props;