From 0c247864b450f193ac67c98fb947d9c4c49a79a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9verin=20Beauvais?= Date: Tue, 24 Jan 2023 14:20:42 -0800 Subject: [PATCH] Update App.vue Converted IA Survey ID from session storage to a number so that empty => 0 => false and "0" => 0 => false. This will allow us to disable the survey from 1Password by assigning an id of 0. (We can also deactivate it from Hotjar.) --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 5d70aa64f..f735706d9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1108,7 +1108,7 @@ export default class App extends Vue { // - if the IA Survey ID is configured // - if the cookie doesn't exist (eg, never set, or expired) if (this.isIncorporationFiling) { - if (sessionStorage.getItem('IA_SURVEY_ID')) { + if (+sessionStorage.getItem('IA_SURVEY_ID')) { const cookie = Cookies.get(this.IA_SURVEY_KEY, { domain: this.domain }) if (!cookie) { this.filingSurveyDialog = true