SingleStat - Shows no content when Cube returns an empty array
Problem to solve
Sometimes cube returns data: []
as a result and it gets displayed as an empty string on SingleStat
visualizations.
Screenshot
Suggested solution
Update the cube client to expect a result of []
for single stats.
Implementation plan
frontend
Update the single stats parser in cube_analytics.js
to return 0
when the cube result is []
.