swiss-seismological-service / REIA-web

Frontend report generation for results of the near real time event specific loss calculations.
GNU Affero General Public License v3.0
0 stars 1 forks source link

fix: fix bug where multiple calls to inject svg would not replace but append #23

Closed schmidni closed 10 months ago

schmidni commented 10 months ago

converting the inject svg to a promise isn't necessary but I was trying out stuff and implemented this. Leaving it like this as it's a bit cleaner anyways.