Sergio Fernández Celorio
Sergio Fernández Celorio
Ok, i've made some changes. There's a new configuration under item section in the config.yml named showAltmetricBadge (false by default). When it's false the script will be never be loaded
Hi @tdonohue , sorry for the late response, im working on it now but with the migration to the new standalone components i have to do some changes to this...
Same problem but diferent log, in my case: `postgresql_1 | 2024-01-26 12:21:47.342 UTC [114] ERROR: relation "issue_search_data" does not exist`
I'm trying this but it seems doesn't fully work for me. When i access to a publication with DOI the badge appears, but if i go back to the collection...
It seems that calling the funtion _altmetric_embed_init after the import('./embed.js') reload the badge. ``` javascript ngAfterViewInit() { // Altmetric embed.js import('./embed.js'); window['_altmetric_embed_init'](); } ``` This is not a clean way...
> @corrad82-4s : Some quick thoughts. It makes sense to me that we might want a centralized utility/class to manage HttpClient/proxying, rather than copying the same proxy code to many...