enable custom tollbar

This commit is contained in:
2023-09-05 15:15:11 +03:30
parent 60f49ce430
commit 6d5db8dd3b
24 changed files with 704 additions and 19 deletions

View File

@@ -134,7 +134,7 @@ function DataTable(props) {
renderTopToolbarCustomActions={({table}) => (
<>
{props.enableCustomToolbar /* send condition */
? props.CustomToolbar /* send component */
? <props.CustomToolbar fetchUrl={fetchUrl} mutate={mutate}/> /* send component */
: ""}
</>
)}