Browse Source

Hotfix for #177

- don't run status waiter on create if it is threshold
master
rozetko 5 years ago
parent
commit
4527d7f053
  1. 3
      src/panel/graph_panel/controllers/analytic_controller.ts

3
src/panel/graph_panel/controllers/analytic_controller.ts

@ -105,9 +105,10 @@ export class AnalyticController {
this._analyticUnitsSet.addItem(this._newAnalyticUnit);
this._creatingNewAnalyticType = false;
this._savingNewAnalyticUnit = false;
// this.runEnabledWaiter(this._newAnalyticUnit);
if(this._newAnalyticUnit.detectorType !== 'threshold') {
this._runStatusWaiter(this._newAnalyticUnit);
}
}
get creatingNew() { return this._creatingNewAnalyticType; }
get saving() { return this._savingNewAnalyticUnit; }

Loading…
Cancel
Save