project-booster-vue 10.22.21 → 10.22.23

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": "10.22.21",
3
+ "version": "10.22.23",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -438,7 +438,7 @@ export default defineComponent({
438
438
  {
439
439
  title: 'Votre projet de rénovation à Paris',
440
440
  image: 'https://storage.googleapis.com/project-booster-media/landing-projet/projet-renovation-paris.jpg',
441
- href: 'https://travaux.leroymerlin.fr/ ',
441
+ href: 'https://travaux.leroymerlin.fr/?utm_source=lmfr&utm_medium=vos-projets',
442
442
  },
443
443
  ],
444
444
  };
@@ -63,7 +63,11 @@ onBeforeMount(async () => {
63
63
  iframeUri.value += `&externalCustomerField[${inhabitantId}]=${currentUserId.value}&hideExternalCustomerFields=${inhabitantId}`;
64
64
  }
65
65
 
66
- iframeUri.value += `&externalCustomerField[inhabitantProjectId]=${projectId.value.inhabitantProjectId}&externalCustomerField[collaboratorLink]=${collaboratorUri.value}`;
66
+ const inhabitantProjectId = 'inhabitantProjectId';
67
+ iframeUri.value += `&externalCustomerField[${inhabitantProjectId}]=${projectId.value.inhabitantProjectId}&hideExternalCustomerFields=${inhabitantProjectId}`;
68
+
69
+ const collaboratorLink = 'collaboratorLink';
70
+ iframeUri.value += `&externalCustomerField[${collaboratorLink}]=${collaboratorUri.value}&hideExternalCustomerFields=${collaboratorLink}`;
67
71
 
68
72
  iframeUri.value += '&hideFilledFields=true&hideCloseButton=true';
69
73
  });