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
commit 772d087b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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') {