Skip to content

Commit

Permalink
Merge pull request #731 from OpenUpSA/bug-731-household-bills-allow-p…
Browse files Browse the repository at this point in the history
…artial-chart-data

Household bills null values (Undo PR 725)
  • Loading branch information
michaelglenister authored Jan 29, 2024
2 parents de14811 + 1854489 commit b187d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/pages/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default class ProfilePage {
const householdPercent = pageData.household_percent;

$('#income-over-time .indicator-metric').hide();
if (chartData) {
if (householdPercent.Middle) {
$('#income-over-time .financial-period').empty();
overall_chart($('#income-over-time .indicator-chart')[0], chartData);

Expand Down

0 comments on commit b187d63

Please sign in to comment.