From 7be15fffa3e615ca2983c0279210dda3f29f67de Mon Sep 17 00:00:00 2001 From: rw-bsi Date: Mon, 9 Sep 2024 14:26:59 +0200 Subject: [PATCH] Moved delete icon to the far left --- frontend/src/DashboardTable.js | 39 +++++++++++++++++----------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/frontend/src/DashboardTable.js b/frontend/src/DashboardTable.js index 42a990d..7d3ab50 100644 --- a/frontend/src/DashboardTable.js +++ b/frontend/src/DashboardTable.js @@ -184,7 +184,7 @@ function EnhancedTableToolbar({ numSelected, onDelete, onRevalidate }) { return ( 0 && { @@ -193,9 +193,23 @@ function EnhancedTableToolbar({ numSelected, onDelete, onRevalidate }) { }), }} > + {numSelected > 0 && ( + + + + + )} + + {/* {numSelected > 0 && ( + + + + + )} */} + {numSelected > 0 ? ( ) : ( - - + /> )} - - {numSelected > 0 && ( - - - - - )} - - {/* {numSelected > 0 && ( - - - - - )} */} + ); }