Last fixes for 0.0.1

- fix prometheus request error
- remove console.log
- bring back drawSimpleColorLegend
This commit is contained in:
Ivan Mikheykin
2018-09-18 13:31:52 +03:00
parent 2614ebccd7
commit 3e12ede595
4 changed files with 33 additions and 9 deletions
+1 -1
View File
@@ -596,7 +596,7 @@ export default function link(scope, elem, attrs, ctrl) {
timeRange = ctrl.range;
cardsData = ctrl.cardsData;
if (!setElementHeight() || !data) {
if (!data || !cardsData || !setElementHeight()) {
return;
}