Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed May 27, 2019
1 parent a46ae18 commit f4bd507
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions client/app/js/controllers/admin/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ controller("AdminHomeCtrl", ["$scope", function($scope) {
$scope.displayNum = undefined;
};
}]).
controller("AdminAdvancedCtrl", ["$scope", "$http", "$uibModal", "CONSTANTS",
function($scope, $http, $uibModal, CONSTANTS){
controller("AdminAdvancedCtrl", ["$scope", "$http", function($scope, $http) {
$scope.tabs = [
{
title:"Main configuration",
Expand Down
2 changes: 1 addition & 1 deletion client/app/js/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,7 @@ factory("AdminUtils", ["AdminContextResource", "AdminQuestionnaireResource", "Ad
field.attrs.topojson.id_name_map = {};
field.attrs.topojson.geojson.features.forEach(function(feature) {
field.attrs.topojson.id_name_map[feature.id] = feature.properties.name;
});
});
});
}
},
Expand Down

0 comments on commit f4bd507

Please sign in to comment.