Fix/table remove and mock data (#653)
* Removed tanstack react table * Fixed remove table feature without tanstack table * Fixed delete people and companies * Fixed hotkeys on editable date cell * Fixed double text * Fixed company mock mode * Fixed lint * Fixed right click selection
This commit is contained in:
@@ -17,17 +17,13 @@ export function EntityTableBody({ columns }: { columns: Array<TableColumn> }) {
|
||||
|
||||
return (
|
||||
<tbody>
|
||||
{!isFetchingEntityTableData ? (
|
||||
rowIds.map((rowId, index) => (
|
||||
<RecoilScope SpecificContext={RowContext} key={rowId}>
|
||||
<EntityTableRow columns={columns} rowId={rowId} index={index} />
|
||||
</RecoilScope>
|
||||
))
|
||||
) : (
|
||||
<tr>
|
||||
<td>loading...</td>
|
||||
</tr>
|
||||
)}
|
||||
{!isFetchingEntityTableData
|
||||
? rowIds.map((rowId, index) => (
|
||||
<RecoilScope SpecificContext={RowContext} key={rowId}>
|
||||
<EntityTableRow columns={columns} rowId={rowId} index={index} />
|
||||
</RecoilScope>
|
||||
))
|
||||
: null}
|
||||
</tbody>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user