pull/16207/head
Jesús Arroyo Torrens 4 years ago
parent 1e82d8c069
commit 91e1c310be

@ -22,6 +22,7 @@
"camelcase": "off",
"no-mixed-operators": "off",
"no-useless-escape": "off",
"prefer-promise-reject-errors": "off"
"prefer-promise-reject-errors": "off",
"padded-blocks": "off"
}
}

@ -1,38 +0,0 @@
@import 'cdb-variables/colors';
.DataObservatory-addMeasure {
width: 100%;
}
.DataObservatory-description {
word-wrap: break-word;
word-break: break-word;
hyphens: auto;
}
.DataObservatory-addMeasure .is-disabled {
opacity: 0.5;
cursor: not-allowed;
}
.DataObservatory-license {
white-space: normal;
}
.DataObservatory-count {
padding: 8px 16px;
border-bottom: 1px solid $cMainLine;
}
.Measurement {
margin: 0 -24px;
padding: 0 24px;
}
.Measurement + .Measurement {
margin-top: 32px;
}
.Measurements {
margin-bottom: 32px;
}

@ -1,38 +0,0 @@
@import '~cartoassets/src/scss/cdb-variables/colors';
.DataObservatory-addMeasure {
width: 100%;
}
.DataObservatory-description {
word-wrap: break-word;
word-break: break-word;
hyphens: auto;
}
.DataObservatory-addMeasure .is-disabled {
opacity: 0.5;
cursor: not-allowed;
}
.DataObservatory-license {
white-space: normal;
}
.DataObservatory-count {
padding: 8px 16px;
border-bottom: 1px solid $cMainLine;
}
.Measurement {
margin: 0 -24px;
padding: 0 24px;
}
.Measurement + .Measurement {
margin-top: 32px;
}
.Measurements {
margin-bottom: 32px;
}

@ -9,10 +9,6 @@ var MergeAnalysisOptionModel = require('builder/components/modals/add-analysis/a
var DeprecatedSQLFunctionOptionModel = require('builder/components/modals/add-analysis/analysis-option-models/deprecated-sql-function-option-model');
var DataServicesApiCheck = require('builder/editor/layers/layer-content-views/analyses/analyses-quota/analyses-quota-info');
var DAO_TYPES = ['age-and-gender', 'boundaries', 'education', 'employment', 'families', 'housing', 'income', 'language', 'migration', 'nationality', 'population-segments', 'race-and-ethnicity', 'religion', 'transportation'];
var DO_DEPRECATION_WARNING_DATE = '2021-02-09';
var MAP = {
'aggregate-intersection': {
title: _t('analyses.aggregate-intersection.title'),
@ -385,11 +381,6 @@ var checkIfExternalGeocodingIsEnabled = function (options) {
return isDataServicesReady(options.configModel) && !!options.configModel.dataServiceEnabled('hires_geocoder');
};
var checkIfDataObservatoryIsEnabled = function (options) {
if (!options.configModel) throw new Error('configModel is required');
return isDataServicesReady(options.configModel) && !!options.configModel.dataServiceEnabled('data_observatory');
};
var definitionByType = function (m) {
var type = 'unknown';

@ -74,10 +74,6 @@ describe('editor/layers/layer-content-views/analyses/analyses-quota/analyses-quo
});
it('should return same input for analysis with quota', function () {
var formModel = new Backbone.Model({
measurements: [1, 2]
});
expect(AnalysesQuotaOptions.transformInput('georeference-street-address', 20, {})).toBe(20);
});

Loading…
Cancel
Save