Closed laurenwalker closed 4 years ago
The render function for citation and usage metrics was looking for the selector before the template was inserted in the DOM. The following commits solve this issue partly. - https://github.com/NCEAS/metacatui/commit/823018366bef6790b133774145dff25ad2b145a5 and https://github.com/NCEAS/metacatui/commit/d1957af5cefe8f8da4dc3b79e493f2f0a15853b2
[WIP] - Still seeing issues with the width of the metrics chart.
The original bug linked with this ticket has been solved. For additional enhancements, I've opened a new ticket to work on. The charts and citation lists are rendering correctly (on reload, back/forward button click events, etc).
To reproduce: