Fix error when opening problem details, #1357

This commit is contained in:
Alexander Zobnin
2022-01-27 13:56:51 +03:00
parent 0411c0a24c
commit edde2bdf33
5 changed files with 25 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
import { DataQuery, DataSourceJsonData, SelectableValue } from "@grafana/data";
import { DataQuery, DataSourceJsonData, DataSourceRef, SelectableValue } from "@grafana/data";
export interface ZabbixDSOptions extends DataSourceJsonData {
username: string;
@@ -185,7 +185,7 @@ export interface ProblemDTO {
/** Whether the trigger is in OK or problem state. */
value?: string;
datasource?: string;
datasource?: DataSourceRef | string;
comments?: string;
host?: string;
hostTechName?: string;