CFE-4 check and set the api
This commit is contained in:
@@ -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}) => (
|
||||
|
||||
Reference in New Issue
Block a user