project-booster-vue 10.30.6 → 10.30.8

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.30.6",
3
+ "version": "10.30.8",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -1016,13 +1016,13 @@ export default defineComponent({
1016
1016
  },
1017
1017
 
1018
1018
  appointmentNotificationLink() {
1019
- const host = window.location.host;
1020
- const appointmentUpdateUrl = this.appointment.appointmentUpdateUrl;
1021
-
1022
1019
  if (!this.appointment.appointmentUpdateUrl.String) {
1023
1020
  return null;
1024
1021
  }
1025
1022
 
1023
+ const host = window.location.host;
1024
+ const appointmentUpdateUrl = decodeURIComponent(JSON.parse(`"${this.appointment.appointmentUpdateUrl.String}"`));
1025
+
1026
1026
  return host.includes('localhost') || host.includes('uat') || host.includes('prep')
1027
1027
  ? `https://qa.timify.com/cancel-booking/${appointmentUpdateUrl}`
1028
1028
  : `https://timify.com/cancel-booking/${appointmentUpdateUrl}`;