fix: Update pagination logic in the help center (#5693)

This commit is contained in:
Pranav Raj S
2022-10-20 20:05:17 -07:00
committed by GitHub
parent a274a1702a
commit 95cc55d043
7 changed files with 45 additions and 52 deletions

View File

@@ -5,7 +5,6 @@ end
json.meta do
json.current_page @current_page
json.articles_count @articles_count
json.all_articles_count @articles_count
json.archived_articles_count @articles.archived.size
json.published_count @articles.published.size
json.draft_articles_count @articles.draft.size

View File

@@ -7,6 +7,7 @@ json.name portal.name
json.page_title portal.page_title
json.slug portal.slug
json.archived portal.archived
json.account_id portal.account_id
json.config do
json.allowed_locales do