topcoderinc / TC-redis-manager

5 stars 15 forks source link

should go to previous page if current page has no records #347

Open winterflame opened 5 years ago

winterflame commented 5 years ago

Reproduction Steps

  1. deploy with default test data and open the app

  2. click global-ordered-list

  3. click "Next page"

  4. select all records, delete them

  5. observe the page (including pagination)

Expected Result

It should go to previous page if current page has no records.

Actual Result

See screenshot, the pagination is wrong, current page has no data.

Screenshots or screencast

If not attached, please check comment section.

Issue Information

Device: Mac Book Pro

OS: macOS High Sierra Version 10.14

Browser: Safari 12.0

winterflame commented 5 years ago

pagi