CASH-1757: even more copilot suggestions
This commit is contained in:
parent
a20b407814
commit
3710a5a692
1 changed files with 3 additions and 3 deletions
|
|
@ -97,10 +97,10 @@ export default {
|
||||||
getRouterLinkDisplayTextFromCopy,
|
getRouterLinkDisplayTextFromCopy,
|
||||||
getExternalLink,
|
getExternalLink,
|
||||||
openModal() {
|
openModal() {
|
||||||
this.modal.openModal();
|
this.modal?.openModal();
|
||||||
},
|
},
|
||||||
closeModal() {
|
closeModal() {
|
||||||
this.modal.closeModal();
|
this.modal?.closeModal();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
@ -133,7 +133,7 @@ export default {
|
||||||
},
|
},
|
||||||
afterpaySectionsContent() {
|
afterpaySectionsContent() {
|
||||||
const sections = this.getCmsContent("AfterpayModalSectionsWidget", "Answers");
|
const sections = this.getCmsContent("AfterpayModalSectionsWidget", "Answers");
|
||||||
if (!sections) return;
|
if (!sections) return [];
|
||||||
sections.forEach((section) => {
|
sections.forEach((section) => {
|
||||||
const sectionContent = this.getCmsContent(section.Name, "BodyText");
|
const sectionContent = this.getCmsContent(section.Name, "BodyText");
|
||||||
section["content"] = sectionContent;
|
section["content"] = sectionContent;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue