diff --git a/lib/DataHarmonizer.js b/lib/DataHarmonizer.js index a4508158..4f36167d 100644 --- a/lib/DataHarmonizer.js +++ b/lib/DataHarmonizer.js @@ -552,8 +552,8 @@ class DataHarmonizer { $(TH).addClass('secondary-header-cell'); if (column > -1) { const field = self.fields[column]; - if (field.recommended) $(TH).addClass('recommended'); - else if (field.required) $(TH).addClass('required'); + if (field.required) $(TH).addClass('required'); + else if (field.recommended) $(TH).addClass('recommended'); } } },