Skip to content

Commit

Permalink
resolve style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasneirynck committed Mar 20, 2017
1 parent 88a97f8 commit cfdb742
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
5 changes: 0 additions & 5 deletions src/ui/public/agg_types/agg_params.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ import AggTypesParamTypesStringProvider from 'ui/agg_types/param_types/string';
import AggTypesParamTypesRawJsonProvider from 'ui/agg_types/param_types/raw_json';
import AggTypesParamTypesBaseProvider from 'ui/agg_types/param_types/base';
export default function AggParamsFactory(Private) {


// const GeoCentroidAggregation = Private(AggTypesMetricsGeoCentroidProvider);
// console.log(GeoCentroidAggregation);

const paramTypeMap = {
field: Private(AggTypesParamTypesFieldProvider),
optioned: Private(AggTypesParamTypesOptionedProvider),
Expand Down
4 changes: 0 additions & 4 deletions src/ui/public/vis/agg_configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,6 @@ export default function AggConfigsFactory(Private) {

aggregations.push(geocentroidMetric);
}
// console.log('arg', arf);

//add

return aggregations;

};
Expand Down
3 changes: 1 addition & 2 deletions src/ui/public/vis_maps/maps_renderbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ module.exports = function MapsRenderbotFactory(Private, $injector, tilemapSettin
updateParams() {

this._paramsDirty = true;
this._kibanaMapReady.then(_ => {
this._kibanaMapReady.then(() => {
const mapParams = this._getMapsParams();
//todo: when WMS changes, recreate the kibana-map
if (mapParams.wms.enabled) {
const { minZoom, maxZoom } = tilemapSettings.getMinMaxZoom(true);
this._kibanaMap.setBaseLayer({
Expand Down

0 comments on commit cfdb742

Please sign in to comment.