The PR is for fixing page always stay empty page when jump to no models page. This error always happens in below flow:
User visit deployed models list and total pages are 2.
User jump to 2 page, but the deployed models changed and total pages become 1.
Then the page will always stay empty page like below image
After this PR, the current page will reset to max page and resend the request. It will jump to page 1 in above cases.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Description
The PR is for fixing page always stay empty page when jump to no models page. This error always happens in below flow:
After this PR, the current page will reset to max page and resend the request. It will jump to page 1 in above cases.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.