fixing build errors

This commit is contained in:
Sneha 2023-02-23 13:02:26 +05:30
parent 8179a019c2
commit dbf449089b
2 changed files with 9 additions and 9 deletions

View file

@ -64,9 +64,9 @@ export default {
}, },
}, },
}, },
mounted(){ // mounted(){
this.getbuttonText(); // this.getbuttonText();
}, // },
methods: { methods: {
showThisQuestionChain(glass, i) { showThisQuestionChain(glass, i) {
// return false if no questions or if suppressed // return false if no questions or if suppressed
@ -84,11 +84,11 @@ export default {
showLoadingModal() { showLoadingModal() {
this.$refs.loadingModal.showModal(); this.$refs.loadingModal.showModal();
}, },
getbuttonText(){ // getbuttonText(){
this.$refs.siteFooter.updateButtonText( // this.$refs.siteFooter.updateButtonText(
`Continue` // `Continue`
); // );
} // }
}, },
components: { components: {
siteHeader, siteHeader,

View file

@ -87,7 +87,7 @@ export default {
const capabilityQuestionsFromPageData = useMainStore().pageData(issPageValues.CAPABILITY_QUESTIONS); const capabilityQuestionsFromPageData = useMainStore().pageData(issPageValues.CAPABILITY_QUESTIONS);
return ( return (
capabilityQuestionsFromPageData?.partsOrQuestions?.some((part) => part?.glassName) && capabilityQuestionsFromPageData?.partsOrQuestions?.some((part) => part?.glassName) &&
capabilityQuestionsDFromPageData?.partsOrQuestions?.some( capabilityQuestionsFromPageData?.partsOrQuestions?.some(
(part) => part?.capabilityQuestions?.length > 0) (part) => part?.capabilityQuestions?.length > 0)
); );
}, },