) => {
onChange({
...(criteria.page
? { pagination: { currentPage: criteria.page.index + 1, pageSize: criteria.page.size } }
: {}),
...(criteria.sort ? { sort: criteria.sort as ModelDeploymentTableSort } : {}),
});
},
[onChange]
);
return (
<>
{noTable ? (
Deployed models will appear here. For more information, see{' '}
Machine Learning Documentation
.
>
}
aria-label="no deployed models"
/>
) : (
0 ? pagination : undefined}
noItemsMessage={
{loading ? (
Loading deployed models...
>
}
aria-label="loading models"
/>
) : (
}
body={
<>
There are no results to your search. Reset the search criteria to view the
deployed models.
>
}
actions={
<>
Reset search
>
}
aria-label="no models results"
/>
)}
}
/>
)}
>
);
};