Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #45 from fielded/fix/empty-object-default-national…
Browse files Browse the repository at this point in the history
…-location

fix: change default national location data to empty obj
  • Loading branch information
freefony authored Apr 5, 2017
2 parents 03d9020 + db0ed07 commit 354c07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state-indicators.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class StateIndicatorsService {
states = promiseResults.states
zones = promiseResults.zones || [] // not available for the state dashboard
products = promiseResults.products
national = promiseResults.national || []
national = promiseResults.national || {}

nonZoneStockCounts = nonZoneStockCounts
.map(decorateStockField.bind(null, null))
Expand Down

0 comments on commit 354c07c

Please sign in to comment.