mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 05:01:19 -03:30
Fix linting errors
This commit is contained in:
parent
38ea82bf3d
commit
01f51219a6
@ -64,9 +64,9 @@ export default ['templateUrl', 'CreateDialog', 'Wait', '$state', '$window',
|
||||
|
||||
scope.closeDialog = function(exitWithUnsavedChanges) {
|
||||
if (
|
||||
!scope.canAddOrEdit
|
||||
|| exitWithUnsavedChanges
|
||||
|| !(scope.workflowChangesUnsaved || scope.workflowChangesStarted)
|
||||
!scope.canAddOrEdit ||
|
||||
exitWithUnsavedChanges ||
|
||||
!(scope.workflowChangesUnsaved || scope.workflowChangesStarted)
|
||||
) {
|
||||
scope.unsavedChangesVisible = false;
|
||||
$('#workflow-modal-dialog').dialog('destroy');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user