mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-26 04:53:10 +00:00
B129 — Format municipios page after rebase conflict resolution
This commit is contained in:
parent
8dc78f48a6
commit
7676d7c5e1
1 changed files with 1 additions and 11 deletions
|
|
@ -55,17 +55,7 @@ export default async function MunicipalitiesPage({ searchParams }: Municipalitie
|
||||||
const canMoveEngagementLevel = isCampaignUnrestricted(user)
|
const canMoveEngagementLevel = isCampaignUnrestricted(user)
|
||||||
|
|
||||||
const pageBundle = await loadMunicipalityListPageBundle(payload, user, rawSearchParams)
|
const pageBundle = await loadMunicipalityListPageBundle(payload, user, rawSearchParams)
|
||||||
const {
|
const { municipalities: listMunicipalities, totalDocs, totalPages, filterFacets } = pageBundle
|
||||||
municipalities: listMunicipalities,
|
|
||||||
totalDocs,
|
|
||||||
totalPages,
|
|
||||||
<<<<<<< HEAD
|
|
||||||
overview,
|
|
||||||
=======
|
|
||||||
scopeTotal,
|
|
||||||
>>>>>>> c432f439 (B129 — Remove municipality list overview panel)
|
|
||||||
filterFacets,
|
|
||||||
} = pageBundle
|
|
||||||
const resolvedUrl = resolveMunicipalityListUrl(rawSearchParams, totalPages)
|
const resolvedUrl = resolveMunicipalityListUrl(rawSearchParams, totalPages)
|
||||||
if (resolvedUrl.redirectHref) redirect(resolvedUrl.redirectHref)
|
if (resolvedUrl.redirectHref) redirect(resolvedUrl.redirectHref)
|
||||||
const { state } = resolvedUrl
|
const { state } = resolvedUrl
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue