Skip to content

Commit

Permalink
fix vm ref
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasnteireho committed Dec 6, 2023
1 parent b07d245 commit 11affc8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mobile/pages/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ export default Component.extend({
},

'a.learn-more click': function fireLearnMoreModal () {
const pages = this.interview.pages
const pageName = this.appState.page
const pages = this.viewModel.interview.pages
const pageName = this.viewModel.currentPage.name
// this.appState.page

if (pages && pageName) {
const page = pages.find(pageName)
Expand Down

0 comments on commit 11affc8

Please sign in to comment.