mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 15:06:02 -03:30
de-lint
This commit is contained in:
@@ -330,7 +330,7 @@ export default ['Rest', 'Wait',
|
|||||||
const isUsernameIncluded = (
|
const isUsernameIncluded = (
|
||||||
$scope.notification_type.value === 'email' ||
|
$scope.notification_type.value === 'email' ||
|
||||||
$scope.notification_type.value === 'webhook'
|
$scope.notification_type.value === 'webhook'
|
||||||
)
|
);
|
||||||
if (i === "username" && isUsernameIncluded &&
|
if (i === "username" && isUsernameIncluded &&
|
||||||
(value === null || value === undefined)) {
|
(value === null || value === undefined)) {
|
||||||
$scope[i] = "";
|
$scope[i] = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user