fix: yaml editor do not update when upload same file
This commit is contained in:
@@ -116,6 +116,7 @@ const Models: React.FC = () => {
|
||||
cancelToken: axiosToken.token
|
||||
});
|
||||
|
||||
// if the current page is beyond total page, fetch again
|
||||
if (
|
||||
!res.items.length &&
|
||||
params.page > res.pagination.totalPage &&
|
||||
|
||||
Reference in New Issue
Block a user