From 9f923eb15051afe171889773eb209df03a6046e7 Mon Sep 17 00:00:00 2001 From: rozetko Date: Mon, 25 Feb 2019 18:02:03 +0300 Subject: [PATCH] Threshold detection runs on creation #177 --- src/panel/graph_panel/controllers/analytic_controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panel/graph_panel/controllers/analytic_controller.ts b/src/panel/graph_panel/controllers/analytic_controller.ts index f5c878b..efe927c 100644 --- a/src/panel/graph_panel/controllers/analytic_controller.ts +++ b/src/panel/graph_panel/controllers/analytic_controller.ts @@ -77,6 +77,7 @@ export class AnalyticController { async sendThresholdParamsToServer(id: AnalyticUnitId) { await this.saveThreshold(id); + await this._analyticService.runDetect(id); await this._runStatusWaiter(this._analyticUnitsSet.byId(id)); }