diff --git a/src/common/table.js b/src/common/table.js index ed936e8..d0e974c 100644 --- a/src/common/table.js +++ b/src/common/table.js @@ -114,11 +114,6 @@ class CustomTable extends Component { ); } - if (child.props.deleteButton) { - cell.push( Delete } > - ); - } - if (child.props.checkbox) { const checkboxKey = child.props.checkboxKey; @@ -126,20 +121,30 @@ class CustomTable extends Component { } if (child.props.exportButton) { - cell.push( Export } > + cell.push( Export } > ); } if (child.props.duplicateButton) { - cell.push( Duplicate } > + cell.push( Duplicate } > ); } + if (child.props.addRemoveFilesButton) { + cell.push(Add/remove File(s)} > + ); + } + if (child.props.downloadAllButton) { cell.push(Download All Files} > ); } + if (child.props.deleteButton) { + cell.push( Delete } > + ); + } + return cell; } // addCell