Skip to content

Commit

Permalink
Merge pull request #1457 from AllenBW/bug/#1456-fix-service-filter
Browse files Browse the repository at this point in the history
Sets default filters on TaggingService query failure
  • Loading branch information
himdel committed Jul 23, 2018
2 parents fd67e7a + 2ae6363 commit 1963085
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function ComponentController ($state, ServicesState, Language, ListView, Chargeb
ServicesState.services.setSort({id: 'created_at', title: 'Created', sortType: 'numeric'}, false)

TaggingService.queryAvailableTags().then(
(response) => { vm.toolbarConfig.filterConfig.fields = getServiceFilterFields(response) },
(response) => { vm.toolbarConfig.filterConfig.fields = getServiceFilterFields(response) }).catch(
() => { vm.toolbarConfig.filterConfig.fields = defaultFilterFields() }
)

Expand Down

0 comments on commit 1963085

Please sign in to comment.