Fix linting errors

This commit is contained in:
mabashian 2019-06-12 13:59:38 -04:00
parent 38ea82bf3d
commit 01f51219a6

View File

@ -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');