Skip to content

Commit 9d45852

Browse files
authored
Merge pull request #4281 from Countly/feature/sdk-config
Remove time series breakdown from some metrics
2 parents d44c2ca + 68cf258 commit 9d45852

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/express/public/core/device-and-type/javascripts/countly.views.js

+3
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,9 @@ var DrawerComponent = countlyVue.views.create({
453453
];
454454
},
455455
enabledVisualizationTypes: function() {
456+
if (this.scope.editedObject.breakdowns.indexOf("devices") !== -1 || this.scope.editedObject.breakdowns.indexOf("resolutions") !== -1 || this.scope.editedObject.breakdowns.indexOf("carriers") !== -1 || this.scope.editedObject.breakdowns.indexOf("density") !== -1) {
457+
return ['pie-chart', 'bar-chart', 'table'];
458+
}
456459
return ['time-series', 'pie-chart', 'bar-chart', 'table'];
457460
},
458461
isMultipleMetric: function() {

0 commit comments

Comments
 (0)