project-booster-vue 9.10.1 → 9.10.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "9.10.1",
3
+ "version": "9.10.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -100,11 +100,11 @@ export const answerGettersMappers: Map<string, (param: any) => void> = new Map<s
100
100
  }),
101
101
  );
102
102
 
103
- function adaptAnswers(answers: Map<string, ScenarioStepAnswer[]>, scenario: Scenario) {
103
+ function adaptAnswers(answers: Record<string, ScenarioStepAnswer[]>, scenario: Scenario) {
104
104
  let adaptedAnswers: ScenarioAnswer[] = [];
105
105
 
106
106
  if (answers) {
107
- adaptedAnswers = Object.entries(Object.fromEntries(answers))
107
+ adaptedAnswers = Object.entries(answers)
108
108
  .filter(([code]) => !['PbRestitution'].includes(scenario?.get(code)?.component ?? ''))
109
109
  .filter(([code]) => code !== 'SUBPROJECT_FORM_ID')
110
110
  .map(([questionId, answerData]) => ({