Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: remove pagination widget when filter is invalid#5095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
presleyp merged 2 commits intomainfrominvalid-filter/presleyp
Nov 16, 2022

Conversation

presleyp
Copy link
Contributor

Fixes#5092

My XState plugin changed the formatting so the diff looks big but all I actually did was:

  • remove thegetUsersCountError because count isn't a separate endpoint anymore so it will never be assigned to
  • clearcount inclearUsers (to mirror howassignUsers assigns both users and count)

Now thatcount is undefined after an invalid filter, the pagination widget correctly doesn't show.

@presleyppresleyp requested a review froma team as acode ownerNovember 15, 2022 17:32
@presleyppresleyp requested review fromBrunoQuaresma and removed request fora teamNovember 15, 2022 17:32
Copy link
Collaborator

@BrunoQuaresmaBrunoQuaresma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

@presleyppresleyp merged commit560d3c9 intomainNov 16, 2022
@presleyppresleyp deleted the invalid-filter/presleyp branchNovember 16, 2022 14:55
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsNov 16, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@BrunoQuaresmaBrunoQuaresmaBrunoQuaresma approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

pagination: pager shows multiple pages when filter returns no results
2 participants
@presleyp@BrunoQuaresma

[8]ページ先頭

©2009-2025 Movatter.jp