Skip to content

Commit f45c662

Browse files
committed
fix missing variable
1 parent 99b7732 commit f45c662

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

app/assets/v2/js/grants/landingpage.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,19 @@ if (document.getElementById('grants-showcase')) {
66
data: {
77
activePage: document.activePage,
88
state: 'active',
9-
mainBanner: document.current_style
9+
mainBanner: document.current_style,
10+
visibleModal: false,
1011
},
1112
computed: {
1213
isLandingPage() {
1314
return (this.activePage == 'grants_landing');
14-
}
15+
},
16+
showModal(modalName) {
17+
this.visibleModal = modalName;
18+
},
19+
hideModal() {
20+
this.visibleModal = 'none';
21+
},
1522
}
1623
});
1724
}

0 commit comments

Comments
 (0)