unitedstates / BillMap

Utilities and applications for the FlatGov project by Demand Progress
Other
15 stars 2 forks source link

'No data available' statements not showing #353

Closed aih closed 3 years ago

aih commented 3 years ago

I've merged, pulled and deployed the changes and the 'emptyTable' statement does not seem to be showing: image

This may be happening because the dataTable is not being applied to an empty table?

image

aih commented 3 years ago

Related to #249

aih commented 3 years ago

This appears to be fixed in production; maybe it required a cache reset?

image image image image

smplater commented 3 years ago

This message is not showing for CBO Scores, SAPs, CRS Reports, or Press Statements. It is only showing for relevant committee docs. We need this message to show for all tabs when there is not a document available.

aih commented 3 years ago

It is showing for all but Press Statements, now. See https://flatgov.linkedlegislation.com/bills/117hjres44

The statement is set as a DataTable function for all of the other tabs. Press Statements needs to be handled separately.

Closing, and continuing to track under #249

aih commented 3 years ago

Fixed in #493. Working and deployed for Press Statements: image