From ee15f36d29e142383bd64b81572304ad65fdb5d6 Mon Sep 17 00:00:00 2001 From: David Resende Date: Tue, 16 Jan 2024 16:14:06 -0500 Subject: [PATCH] Removed Old Methods from table_list_view --- .../textual_summary/table_list_view.jsx | 22 ------------------- 1 file changed, 22 deletions(-) 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;