Problems: Able to select tags evaluation type, fixes #1600

This commit is contained in:
Alexander Zobnin
2023-08-01 15:53:13 +02:00
parent e33812427e
commit 7af3dca545
5 changed files with 33 additions and 4 deletions

View File

@@ -675,6 +675,10 @@ export class ZabbixDatasource extends DataSourceApi<ZabbixMetricsQuery, ZabbixDS
problemsOptions.tags = tags;
}
if (target?.evaltype) {
problemsOptions.evaltype = target?.evaltype;
}
if (target.options?.acknowledged === 0 || target.options?.acknowledged === 1) {
problemsOptions.acknowledged = !!target.options?.acknowledged;
}