diff --git a/lib/manager/components/FeedSourceTableRow.js b/lib/manager/components/FeedSourceTableRow.js index 4bc0ce345..e110afe04 100644 --- a/lib/manager/components/FeedSourceTableRow.js +++ b/lib/manager/components/FeedSourceTableRow.js @@ -185,12 +185,10 @@ export default class FeedSourceTableRow extends PureComponent { // data for latest validation columns const currentVersionData = this.getVersionDisplayData(feedSource.latestValidation) + const latestVersionId = feedSource.latestValidation && feedSource.latestValidation.feedVersionId + const comparisonVersionId = comparisonValidationSummary && comparisonValidationSummary.feedVersionId - if ( - feedSource.latestVersionId && - comparisonValidationSummary && - feedSource.latestVersionId === comparisonValidationSummary.feedVersionId - ) { + if (latestVersionId && latestVersionId === comparisonVersionId) { currentVersionData.status = comparisonColumn === 'DEPLOYED' ? 'same-as-deployed' : 'same-as-published'