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