elixirlabsinc / endslaverynow

Creating the End Slavery Now project
2 stars 0 forks source link

Fix categories bugs #19

Closed toriejw closed 5 years ago

toriejw commented 5 years ago

I believe the ID generation issue was introduced through the subcategory work. That required filtering empty values from $scope.categories, which broke an assumption of the ID generation. A similar issue could arise for products and brands, but is not an issue currently. Would be good to add tests to make sure it doesn't become an issue.