Fixed migrations error in triggers panel.
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
|
||||
export function isGrafana2target(target) {
|
||||
if (!target.mode || target.mode === 0 || target.mode === 2) {
|
||||
if ((target.hostFilter || target.itemFilter || target.downsampleFunction || target.host.host) &&
|
||||
if ((target.hostFilter || target.itemFilter || target.downsampleFunction ||
|
||||
(target.host && target.host.host)) &&
|
||||
(target.item.filter === undefined && target.host.filter === undefined)) {
|
||||
return true;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user