@cubejs-client/react 0.34.46 → 0.34.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10200,8 +10200,10 @@
10200
10200
 
10201
10201
  if (id === 'measures') {
10202
10202
  destinationIndex = lastIndex + 1;
10203
- } else if (destinationIndex >= lastIndex && nextPivotConfig[destinationAxis][lastIndex] === 'measures') {
10203
+ } else if (sourceAxis === destinationAxis && destinationIndex >= lastIndex && nextPivotConfig[destinationAxis][lastIndex] === 'measures') {
10204
10204
  destinationIndex = lastIndex - 1;
10205
+ } else if (sourceAxis !== destinationAxis && destinationIndex > lastIndex && nextPivotConfig[destinationAxis][lastIndex] === 'measures') {
10206
+ destinationIndex = lastIndex;
10205
10207
  }
10206
10208
 
10207
10209
  nextPivotConfig[sourceAxis].splice(sourceIndex, 1);