File tree Expand file tree Collapse file tree 5 files changed +13
-12
lines changed
Expand file tree Collapse file tree 5 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 99 KEYCLOAK_CLIENT_ID : ${{secrets.KEYCLOAK_CLIENT_ID}}
1010 KEYCLOAK_CLIENT_SECRET : ${{secrets.KEYCLOAK_CLIENT_SECRET}}
1111 AUTH_ISSUER : ${{secrets.AUTH_ISSUER}}
12- NEXTAUTH_URL : ${{secrets.NEXTAUTH_URL_DS}}
13- NEXT_PUBLIC_NEXTAUTH_URL : ${{secrets.NEXT_PUBLIC_NEXTAUTH_URL_DS}}
12+ NEXTAUTH_URL : ' https://dev.civicdataspace.in/ '
13+ NEXT_PUBLIC_NEXTAUTH_URL : ' https://dev.civicdataspace.in/ '
1414 NEXTAUTH_SECRET : ${{secrets.NEXTAUTH_SECRET}}
1515 END_SESSION_URL : ${{secrets.END_SESSION_URL}}
1616 REFRESH_TOKEN_URL : ${{secrets.REFRESH_TOKEN_URL}}
17- NEXT_PUBLIC_BACKEND_URL : ${{secrets.NEXT_PUBLIC_BACKEND_URL_DS}}
18- BACKEND_URL : ${{secrets.BACKEND_URL_DS}}
19- BACKEND_GRAPHQL_URL : ${{secrets.BACKEND_GRAPHQL_URL_DS}}
17+ NEXT_PUBLIC_BACKEND_URL : ${{secrets.NEXT_PUBLIC_BACKEND_URL_DEV_DS}}
18+ BACKEND_GRAPHQL_URL : ${{secrets.BACKEND_GRAPHQL_URL_DEV_DS}}
2019 NEXT_PUBLIC_ENABLE_ACCESSMODEL : ${{secrets.NEXT_PUBLIC_ENABLE_ACCESSMODEL_DS}}
21- NEXT_PUBLIC_BACKEND_GRAPHQL_URL : ${{secrets.NEXT_PUBLIC_BACKEND_GRAPHQL_URL_DS}}
22- NEXT_PUBLIC_PLATFORM_URL : ${{secrets.NEXT_PUBLIC_PLATFORM_URL}}
20+ NEXT_PUBLIC_BACKEND_GRAPHQL_URL : ${{secrets.NEXT_PUBLIC_BACKEND_GRAPHQL_URL_DEV_DS}}
21+ BACKEND_URL : ${{secrets.BACKEND_URL_DEV}}
22+ NEXT_PUBLIC_PLATFORM_URL : ${{secrets.NEXT_PUBLIC_PLATFORM_URL_DEV}}
23+ NEXT_PUBLIC_ANALYTICS_URL : ${{secrets.NEXT_PUBLIC_ANALYTICS_URL}}
2324
2425
2526jobs :
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { GraphQL } from '@/lib/api';
1313
1414const sectorDetails = graphql ( `
1515 query SectorsList {
16- sectors {
16+ activeSectors {
1717 id
1818 name
1919 description
@@ -61,7 +61,7 @@ const Sectors = () => {
6161 </ div >
6262 ) : (
6363 < div className = "mt-12 grid w-full grid-cols-1 gap-6 px-4 md:grid-cols-2 md:px-12 lg:grid-cols-3 lg:px-12" >
64- { data ?. sectors . map ( ( sectors : any ) => (
64+ { data ?. activeSectors . map ( ( sectors : any ) => (
6565 < Link
6666 href = { `/sectors/${ sectors . slug } ?size=9&page=1&sort=recent§ors=${ capitalizeWords ( sectors . slug ) } ` }
6767 key = { sectors . id }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import Styles from '../datasets/dataset.module.scss';
2020
2121const sectorsListQueryDoc : any = graphql ( `
2222 query SectorsLists($order: SectorOrder, $filters: SectorFilter) {
23- sectors (order: $order, filters: $filters) {
23+ activeSectors (order: $order, filters: $filters) {
2424 id
2525 name
2626 description
@@ -185,10 +185,10 @@ const SectorsListingPage = () => {
185185 < div className = "m-4 flex justify-center" >
186186 < Spinner />
187187 </ div >
188- ) : data && data ?. sectors ?. length > 0 ? (
188+ ) : data && data ?. activeSectors ?. length > 0 ? (
189189 < >
190190 < div className = "grid w-full grid-cols-1 gap-10 md:grid-cols-2 lg:grid-cols-3" >
191- { data ?. sectors . map ( ( sectors : any ) => (
191+ { data ?. activeSectors . map ( ( sectors : any ) => (
192192 < Link
193193 href = { `/sectors/${ sectors . slug } ?sectors=${ capitalizeWords ( sectors . slug ) } ` }
194194 key = { sectors . id }
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments