Skip to content
Snippets Groups Projects
Commit cb1e23e4 authored by Tom Robinson's avatar Tom Robinson
Browse files

Don't use baseDimension in FieldList if useOriginalDimension is enabled

parent d5138e77
No related branches found
No related tags found
No related merge requests found
......@@ -228,7 +228,9 @@ export default class FieldList extends Component {
? item.dimension
: item.dimension.defaultDimension() || item.dimension;
const shouldExcludeBinning =
!enableSubDimensions && dimension instanceof BinnedDimension;
!enableSubDimensions &&
!useOriginalDimension &&
dimension instanceof BinnedDimension;
if (shouldExcludeBinning) {
// If we don't let user choose the sub-dimension, we don't want to treat the field
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment