If there is no visible metric, Error while saving analytic unit: Cannot read property 'id' of undefined alert will be displayed.
Changes:
Add check in MetricExpanded constructor. If there is no visible mertic, Error while saving analytic unit: There are no visible metrics. Please add at least one metric alert will be displayed.
Closes #207
If there is no visible metric,
Error while saving analytic unit: Cannot read property 'id' of undefined
alert will be displayed.Changes:
MetricExpanded
constructor. If there is no visible mertic,Error while saving analytic unit: There are no visible metrics. Please add at least one metric
alert will be displayed.Before:
After: