analytics/assets/js
RobertJoonas c4b8bf8c32
Fix metric undefined (#2589)
* extract maybeUpdateMetric function

* reset graph metric after fetching top stats

* fix bug

Also make sure we do not allow 'metric' to become undefined anymore

* keep graph hidden when empty metric saved

* reset metric in setState callback

* pass function not call
2023-01-18 16:37:03 +02:00
..
dashboard Fix metric undefined (#2589) 2023-01-18 16:37:03 +02:00
polyfills 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 2021-10-11 14:48:19 +02:00
app.js 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 2021-10-11 14:48:19 +02:00
embed.content.js Allow custom styles to be passed to embedded iframe (#1522) 2021-12-08 11:53:37 +02:00
embed.host.js Allow custom styles to be passed to embedded iframe (#1522) 2021-12-08 11:53:37 +02:00