nutritionix / nutrition-label

Create a FDA-style nutrition label with any nutrition data source (even the Nutritionix API - http://www.nutritionix.com/api)
http://www.nutritionix.com/
MIT License
176 stars 66 forks source link

create a setting to allow users to customize the not applicable value #85

Closed majin22 closed 7 years ago

majin22 commented 7 years ago

currently, it is fixed to show - (dash)

the settings related to this are

naCalories : false,
naFatCalories : false,
naTotalFat : false,
naSatFat : false,
naTransFat : false,
naPolyFat : false,
naMonoFat : false,
naCholesterol : false,
naSodium : false,
naPotassium : false, //this is for the legacy version
naPotassium_2018 : false, //this is for the 2018 version
naTotalCarb : false,
naFibers : false,
naSugars : false,
naAddedSugars : false,
naProteins : false,
naVitaminA : false,
naVitaminC : false,
naVitaminD : false,
naCalcium : false,
naIron : false,
majin22 commented 7 years ago

fixed the bug on the latest release