Clicking on a disabled dashboard button still executed the click.
This commit is contained in:
parent
151b8f9e25
commit
bb94d108ce
|
@ -432,6 +432,9 @@ define([
|
||||||
a: row.display_name
|
a: row.display_name
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
if (rows.length == 0 ) {
|
||||||
|
return "javascript:;";
|
||||||
|
}
|
||||||
rows = JSON.stringify(rows);
|
rows = JSON.stringify(rows);
|
||||||
var time = filterSrv.timeRange(false);
|
var time = filterSrv.timeRange(false);
|
||||||
var show;
|
var show;
|
||||||
|
|
Loading…
Reference in a new issue