Skip to content

Commit

Permalink
Add handling for null amendment_chain
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeaufort committed Nov 13, 2018
1 parent eb65b5c commit 8669e95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fec/fec/static/js/modules/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ function amendmentVersionDescription(row) {
// and F1N & F2 that are filed as N but are not originals
if (
row.amendment_indicator === API.amendment_indicator_new &&
row.amendment_chain != null &&
row.amendment_chain.length === 1
) {
description = ' Original';
Expand Down

0 comments on commit 8669e95

Please sign in to comment.