Merge pull request #129 from houdiniproject/fix_followup

Fix redirect not included on followup step
This commit is contained in:
Eric Schultz 2019-01-03 12:27:26 -06:00 committed by GitHub
commit 387a22a6aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ function view(state) {
}, [h('i.fa.fa-twitter-square'), ` ${I18n.t('nonprofits.donate.followup.share.twitter')}`] ) }, [h('i.fa.fa-twitter-square'), ` ${I18n.t('nonprofits.donate.followup.share.twitter')}`] )
]) ])
// Show the 'finish' button only if we're in an offsite embedded modal // Show the 'finish' button only if we're in an offsite embedded modal
, false && state.params$().offsite , state.params$().offsite
? h('div', [ ? h('div', [
h('button.button.finish', {on: {click: state.clickFinish$}}, I18n.t('nonprofits.donate.followup.finish')) h('button.button.finish', {on: {click: state.clickFinish$}}, I18n.t('nonprofits.donate.followup.finish'))
]) ])