-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix comments query loop pagination not respecting Discussion Settings (…
…#40284) * hide comments pagination in the editor if not enabled * if comments pagination not enabled fetch max allowed items + fix possible error where if someone set more than 100 it would return zero results in the editor but work ok when rendered by the backend * update selector to return only used data Co-authored-by: George Mamadashvili <[email protected]> * clarify that in editor we are rendering pagination placeholder this is to enable styling the controls regardless of data and state * Present a user facing warning if comments pagination was disabled. This will take place of the pagination placeholder. + Remove unneeded comment about comments pagination being a placeholder. * align disabled comments warning copy with other comments blocks Co-authored-by: George Mamadashvili <[email protected]>
- Loading branch information
1 parent
8aaacd9
commit f345992
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters