Skip to content

Commit

Permalink
fix: do not prefix with stage id for time dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Jan 22, 2024
1 parent 12f9b33 commit 9351aa5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/Dialogs/PeriodDimension/PeriodDimension.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ export const PeriodDimension = ({ dimension, onClose }) => {
(acc, item) => {
const itemId = formatDimensionId({
dimensionId: item.id,
programStageId: null,
programId,
outputType: inputType,
})
Expand Down
1 change: 0 additions & 1 deletion src/modules/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export const getDynamicTimeDimensionsMetadata = (
...Object.values(getTimeDimensions()).reduce((acc, dimension) => {
const id = formatDimensionId({
dimensionId: dimension.id,
programStageId: stage?.id,
programId: program?.id,
outputType: inputType,
})
Expand Down
1 change: 0 additions & 1 deletion src/reducers/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ export const useProgramDimensions = () => {
const getId = (dimensionId) =>
formatDimensionId({
dimensionId,
programStageId,
programId,
outputType: inputType,
})
Expand Down

0 comments on commit 9351aa5

Please sign in to comment.