Never submit empty queries.
This commit is contained in:
parent
5a07e8a7c6
commit
c5e507cd9c
|
@ -275,6 +275,9 @@ Prometheus.Graph.prototype.decreaseEnd = function() {
|
|||
|
||||
Prometheus.Graph.prototype.submitQuery = function() {
|
||||
var self = this;
|
||||
if (!self.expr.val()) {
|
||||
return
|
||||
}
|
||||
|
||||
self.spinner.show();
|
||||
self.evalStats.empty();
|
||||
|
|
Loading…
Reference in New Issue