Browse Source

Hotfix for #177

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

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

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

Loading…
Cancel
Save