CFE-4 check and set the api

This commit is contained in:
2023-10-10 11:38:09 +03:30
parent 99b4128cd9
commit 9c74c18089
14 changed files with 94 additions and 62 deletions

View File

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