Skip to content

Commit

Permalink
add check on featureList
Browse files Browse the repository at this point in the history
  • Loading branch information
samsep committed Nov 19, 2015
1 parent 8706e9a commit 6d14654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/controllers/features.controller.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SubmitWorkFeaturesController = ($scope, $rootScope, SubmitWorkService, SubmitWor
]

vm.filterByCategory = (list, category) ->
featureList = list.filter (feature) ->
featureList = list?.filter (feature) ->
feature.category == category

featureList
Expand Down

0 comments on commit 6d14654

Please sign in to comment.