From 5340b9c98e993072e103cbc8bc67ff3cfdd1baf9 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Tue, 10 Aug 2021 11:44:06 +0300 Subject: [PATCH] Fix switching editor to item tags on init --- src/datasource-zabbix/query.controller.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/datasource-zabbix/query.controller.ts b/src/datasource-zabbix/query.controller.ts index bd02610..2615c1d 100644 --- a/src/datasource-zabbix/query.controller.ts +++ b/src/datasource-zabbix/query.controller.ts @@ -278,7 +278,8 @@ export class ZabbixQueryController extends QueryCtrl { return Promise.all(promises).then(() => { if (this.zabbix.isZabbix54OrHigher()) { - this.suggestItemTags(); + this.suggestItemTags() + .then(() => this.$scope.$apply()); } }); }