Merge pull request #4404 from mabashian/4113-grafana

Fix js error thrown preventing creation of grafana notification

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-08-01 00:43:50 +00:00
committed by GitHub

View File

@@ -199,7 +199,7 @@ export default ['Rest', 'Wait', 'NotificationsFormObject',
$scope[i] = null;
}
else {
$scope[i] = $scope[i].toString().split('\n');
$scope[i] = $scope[i] ? $scope[i].toString().split('\n') : "";
}
}
if (field.type === 'checkbox') {