This commit is contained in:
Keith Grant 2019-09-11 14:34:25 -07:00
parent 55244834a3
commit e309ad25e4

View File

@ -330,7 +330,7 @@ export default ['Rest', 'Wait',
const isUsernameIncluded = (
$scope.notification_type.value === 'email' ||
$scope.notification_type.value === 'webhook'
)
);
if (i === "username" && isUsernameIncluded &&
(value === null || value === undefined)) {
$scope[i] = "";