You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/08/03 14:00:51 UTC

[kibble] 02/02: regen JS

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git

commit 96f20cbd8d4bc7572c7344d48aee73952cb5d075
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Fri Aug 3 16:00:41 2018 +0200

    regen JS
---
 ui/js/kibble.v1.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/js/kibble.v1.js b/ui/js/kibble.v1.js
index f7bfe90..df7a5a2 100644
--- a/ui/js/kibble.v1.js
+++ b/ui/js/kibble.v1.js
@@ -6029,7 +6029,7 @@ linechart = function(json, state) {
   cats = new Array();
   dates = new Array();
   catdata = {};
-  if (!isArray(json.timeseries) && !json.counts) {
+  if (!isArray(json.timeseries) && !(json.counts || json.phrases)) {
     div.innerHTML = "No data available";
     state.widget.inject(div, true);
     return;