project-booster-vue 8.100.2 → 8.101.0

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": "8.100.2",
3
+ "version": "8.101.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "test:unit": "vue-cli-service test:unit --forceExit --detectOpenHandles",
@@ -57,6 +57,7 @@ import PbRestitutionBody from './PbRestitutionBody';
57
57
  import PbProgressionPrice from '../progression-price/PbProgressionPrice';
58
58
  import PbProjectItemSave from '../project-item-save/PbProjectItemSave';
59
59
  import PbRestitutionExit from './PbRestitutionExit';
60
+
60
61
  const BACK_ICON =
61
62
  'https://storage.googleapis.com/project-booster-media/mozaic-icons/svg/Navigation_Arrow_Arrow--Left_16px.svg';
62
63
 
@@ -153,8 +154,11 @@ export default {
153
154
  return this.payload?.theme ?? this.theme;
154
155
  },
155
156
  displayedExitOptions() {
156
- let formattedExitOptions = this.payload?.exitOptions;
157
- formattedExitOptions.options = formattedExitOptions.options.filter(
157
+ let formattedExitOptions = {
158
+ title: this.payload?.exitOptions.title,
159
+ options: [],
160
+ };
161
+ formattedExitOptions.options = this.payload?.exitOptions?.options?.filter(
158
162
  (option) => !option.conditions || this.areConditionsValid(option.conditions),
159
163
  );
160
164
  return formattedExitOptions;