Closed chuanlin2018 closed 2 years ago
You are right. "In browser" guard is not necessary. We only need it for PrimeNG. There are three fixes in this check in:
Sure. Fixing now.
Tested locally. Since this is a simple change I didn't test it in docker.
http://mml.nist.gov:8080/browse/ODD-1003
In this branch, the social media and link data of the footer was placed in a JSON file under assets/site-constants/. This design allow us to modify footer links without change the code.
I removed some detailed testing code in footer unit test so if we modify the JSON file, the unit test won't fail.
To test, run it in local docker or run it locally using npm. Make sure server-side rendering has no error.