CSR-690 Fix issue with part-questions back
This commit is contained in:
parent
6359139342
commit
7d7896a012
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,6 @@ export function getDateForSavedSessionTimeout() {
|
|||
|
||||
/** Function to get saved session timeout date based on values in the cookie */
|
||||
function getSavedSessionTimeoutDate() {
|
||||
console.log("getFunnelCookie()?.LastTouched: ", getFunnelCookie()?.LastTouched)
|
||||
let lastTouched = new Date(getFunnelCookie()?.LastTouched);
|
||||
lastTouched = lastTouched ? lastTouched : new Date().toUTCString();
|
||||
let savedSessionTimeoutDate = lastTouched;
|
||||
|
|
|
|||
|
|
@ -175,7 +175,8 @@ export default {
|
|||
}
|
||||
},
|
||||
arePagePrerequisitesValid() {
|
||||
return Object.keys(store.getters.pageData(fmgPageValues.PART_QUESTIONS)).length > 0;
|
||||
const partQuestionsFromPageData = store.getters.pageData(fmgPageValues.PART_QUESTIONS);
|
||||
return partQuestionsFromPageData && Object.keys(partQuestionsFromPageData).length > 0;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue