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,
|
||||
getExternalLink,
|
||||
openModal() {
|
||||
this.modal.openModal();
|
||||
this.modal?.openModal();
|
||||
},
|
||||
closeModal() {
|
||||
this.modal.closeModal();
|
||||
this.modal?.closeModal();
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
|
|
@ -133,7 +133,7 @@ export default {
|
|||
},
|
||||
afterpaySectionsContent() {
|
||||
const sections = this.getCmsContent("AfterpayModalSectionsWidget", "Answers");
|
||||
if (!sections) return;
|
||||
if (!sections) return [];
|
||||
sections.forEach((section) => {
|
||||
const sectionContent = this.getCmsContent(section.Name, "BodyText");
|
||||
section["content"] = sectionContent;
|
||||
|
|
|
|||
Loading…
Reference in a new issue