usnistgov / oar-pdr

The NIST Open Access to Research (OAR) Public Data Repository (PDR) system software
11 stars 10 forks source link

Fix/odd1086 minor fixes #312

Closed chuanlin2018 closed 1 year ago

chuanlin2018 commented 1 year ago

This check in solves the problems mentioned in Jira ticket: http://mml.nist.gov:8080/browse/ODD-1086.

Problem #1 seems only happens in edit mode while the two icons are disabled. To test this, set environment.ts to test mode then use this url: http://localhost:4200/lps/test3?editEnabled=true.

Problem #2 happens in both edit and public mode. Edit mode can be tested the same way as problem #1. Public mode can be tested using this url: http://localhost:4200/lps/ECBCC1C1301D2ED9E04306570681B10735.

Problem #3 also happens in both edit and public mode. To test it in public mode, set environment to non-editing and use url: http://localhost:4200/lps/mds2-2116. To test it in edit mode, use http://localhost:4200/lps/test0?editEnabled=true. I added test0 to environment.ts for this purpose.