Skip to content

Commit

Permalink
Some fixes. Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Caldwell committed Apr 14, 2020
1 parent 4e3ed3a commit e36abee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ export function getInitialTimeFilters({ mapStateJSON, globalState = {} }) {
}
}

const defaultTime = getUiSettings()('timepicker:timeDefaults');
const defaultTime = getUiSettings().get('timepicker:timeDefaults');
return { ...defaultTime, ...globalState.time };
}
5 changes: 1 addition & 4 deletions x-pack/legacy/plugins/maps/public/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@ routes
template: mapTemplate,
controller: 'GisMapController',
resolve: {
map: function(redirectWhenMissing, $scope, config) {
console.log($scope, config);
map: function(redirectWhenMissing) {
const gisMapSavedObjectLoader = getMapsSavedObjectLoader();
console.log(gisMapSavedObjectLoader);
$scope.listingLimit = config.get('savedObjects:listingLimit');
return gisMapSavedObjectLoader.get().catch(
redirectWhenMissing({
map: '/',
Expand Down

0 comments on commit e36abee

Please sign in to comment.