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,3 +1,5 @@
import { DataSourceRef } from "@grafana/data";
export interface ProblemsPanelOptions {
schemaVersion: number;
datasources: any[];
@@ -84,7 +86,7 @@ export interface ZBXTrigger {
comments?: string;
correlation_mode?: string;
correlation_tag?: string;
datasource?: string;
datasource?: DataSourceRef | string;
description?: string;
error?: string;
expression?: string;