Skip to content

Commit

Permalink
Fix system dimension on new results
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Dec 26, 2021
1 parent fbb9f53 commit b79c902
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/combination/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import mapObj from 'map-obj'
import { UserError } from '../error/main.js'
import { selectCombinations } from '../select/main.js'

import { SYSTEM_PREFIX } from './dimensions.js'
import { validateCombinationsIds } from './ids/validate.js'
import { toInputsList } from './inputs.js'
import { listTasks } from './tasks/main.js'
Expand Down Expand Up @@ -44,5 +45,5 @@ const getCombinationsProduct = function ({ tasks, inputsList, system }) {
}

const getSystemDimension = function (propName, id) {
return { id }
return [`${SYSTEM_PREFIX}${propName}`, { id }]
}

0 comments on commit b79c902

Please sign in to comment.