Skip to content

Commit

Permalink
Merge pull request #960 from mcneilco/ACAS-338
Browse files Browse the repository at this point in the history
Don't disable standardization if dry run changes is < 1
  • Loading branch information
brianbolt authored Jul 7, 2022
2 parents c82c8d0 + f0e357f commit b60c0f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/Standardization/src/client/Standardization.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,7 @@ class window.StandardizationController extends Backbone.View
#Execute Standardization Disabled when most recent history dryRunStatus != "complete" or standardizationStatus == "running" or standardization == "complete"
if dryRunStatus != 'complete' or standardizationStatus is 'running' or standardizationStatus is 'complete'
@$('.bv_executeStandardization').attr 'disabled', 'disabled'
if mostRecentHistory.dryRunStandardizationChangesCount < 1
@$('.bv_executeStandardization').attr 'disabled', 'disabled'


setupLastDryRunReportSummary: (mostRecentHistory)->
standardizationStatus = mostRecentHistory.standardizationStatus
Expand Down

0 comments on commit b60c0f1

Please sign in to comment.