@@ -31,14 +31,15 @@ const CleanAirPublications = () => {
3131 * @description set the active resource in the redux store
3232 */
3333 useEffect ( ( ) => {
34- dispatch ( setActiveResource ( t ( 'cleanAirSite.publications.navs.toolkits ' ) ) ) ;
34+ dispatch ( setActiveResource ( t ( 'cleanAirSite.events.dropdowns.filter.options1.1 ' ) ) ) ;
3535 } , [ dispatch , language ] ) ;
3636
3737 /**
3838 * @description Dropdown list of resources
3939 * @type {Array }
4040 */
4141 const resources = [
42+ t ( 'cleanAirSite.events.dropdowns.filter.options1.1' ) ,
4243 t ( 'cleanAirSite.publications.navs.toolkits' ) ,
4344 t ( 'cleanAirSite.publications.navs.reports' ) ,
4445 t ( 'cleanAirSite.publications.navs.workshops' ) ,
@@ -122,7 +123,7 @@ const CleanAirPublications = () => {
122123 authors_title = { item . author_title }
123124 authors = { item . resource_authors }
124125 link = { item . resource_link }
125- resourceCategory = { activeResource }
126+ resourceCategory = { item . resource_category . replace ( / _ / g , ' ' ) }
126127 linkTitle = { item . link_title || t ( 'cleanAirSite.publications.cardBtnText' ) }
127128 showSecondAuthor = { showSecondAuthor }
128129 resourceFile = { item . resource_file }
@@ -221,6 +222,9 @@ const CleanAirPublications = () => {
221222 </ div >
222223 </ div >
223224 < div className = "resource-body" >
225+ { activeResource === t ( 'cleanAirSite.events.dropdowns.filter.options1.1' ) && (
226+ < div className = "reports" > { renderData ( cleanAirResources , false ) } </ div >
227+ ) }
224228 { activeResource === t ( 'cleanAirSite.publications.navs.toolkits' ) && (
225229 < div className = "reports" > { renderData ( toolkitData , false ) } </ div >
226230 ) }
0 commit comments