diff --git a/src/js/components/agencyLanding/table/TableRow.jsx b/src/js/components/agencyLanding/table/TableRow.jsx index d3104fc9ce..03aa094f9b 100644 --- a/src/js/components/agencyLanding/table/TableRow.jsx +++ b/src/js/components/agencyLanding/table/TableRow.jsx @@ -22,7 +22,6 @@ export default class TableRow extends React.PureComponent { rowClass = 'row-odd'; } const cells = this.props.columns.map((column) => { - // BODGE: Disable Department of Transportation in agency list if (column.columnName === 'agency_name') { // show the agency link cell return ( @@ -34,7 +33,6 @@ export default class TableRow extends React.PureComponent { name={this.props.agency.agency_name} id={this.props.agency.agency_id} agencySearchString={this.props.agencySearchString} - disabled={this.props.agency.agency_name === 'Department of Transportation (DOT)'} column={column.columnName} /> ); diff --git a/src/js/components/agencyLanding/table/cells/AgencyLinkCell.jsx b/src/js/components/agencyLanding/table/cells/AgencyLinkCell.jsx index 64375ef564..0041b523fd 100644 --- a/src/js/components/agencyLanding/table/cells/AgencyLinkCell.jsx +++ b/src/js/components/agencyLanding/table/cells/AgencyLinkCell.jsx @@ -12,8 +12,7 @@ const propTypes = { rowIndex: PropTypes.number, column: PropTypes.string, id: PropTypes.number, - agencySearchString: PropTypes.string, - disabled: PropTypes.bool + agencySearchString: PropTypes.string }; export default class AgencyLinkCell extends React.Component { @@ -30,15 +29,6 @@ export default class AgencyLinkCell extends React.Component { )); } - // BODGE: Disable specific agencies in agency list - if (this.props.disabled) { - return (
-
- {name} -
-
); - } - return (
diff --git a/src/js/components/explorer/detail/header/DetailHeader.jsx b/src/js/components/explorer/detail/header/DetailHeader.jsx index c25b2f1de1..068c888df4 100644 --- a/src/js/components/explorer/detail/header/DetailHeader.jsx +++ b/src/js/components/explorer/detail/header/DetailHeader.jsx @@ -58,8 +58,7 @@ const heading = (type, title, id) => { ); } - else if (type === 'Agency' && title !== 'Department of Transportation') { - // BODGE: Disable link to Department of Transportation + else if (type === 'Agency') { return (

{title}