Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions js/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -2182,9 +2182,9 @@ function submissionChecker(submissions) {
return submission.status === 'completed';
});

// Get the Submission data from the first completed submission,
// Get the Submission data from the latest completed submission,
// it has the certification values that are in use on the app store.
previousAppStoreSubmission = _.minBy(completedAsub, function(el) {
previousAppStoreSubmission = _.maxBy(completedAsub, function(el) {
return el.id;
});

Expand Down Expand Up @@ -2233,9 +2233,9 @@ function submissionChecker(submissions) {
return submission.status === 'completed';
});

// Get the Submission data from the first completed submission,
// Get the Submission data from the latest completed submission,
// it has certification values that are in use on the developer portal.
previousEnterpriseStoreSubmission = _.minBy(completedEsub, function(el) {
previousEnterpriseStoreSubmission = _.maxBy(completedEsub, function(el) {
return el.id;
});

Expand Down