The close button no longer exists on embedded wizards
This commit is contained in:
parent
9ca314c8e9
commit
0c19b7300e
1 changed files with 2 additions and 2 deletions
|
@ -154,8 +154,8 @@ const view = state => {
|
||||||
}, [
|
}, [
|
||||||
h('img.closeButton', {
|
h('img.closeButton', {
|
||||||
props: {src: '/assets/ui_components/close.svg'}
|
props: {src: '/assets/ui_components/close.svg'}
|
||||||
, on: {click: ev => state.params$().offsite ? parent.postMessage('commitchange:close', '*') : null}
|
, on: {click: ev => state.params$().offsite && !state.params$().embedded ? parent.postMessage('commitchange:close', '*') : null}
|
||||||
, class: {'u-hide': !state.params$().offsite}
|
, class: {'u-hide': !state.params$().offsite || !state.params$().embedded}
|
||||||
})
|
})
|
||||||
, h('div.titleRow', [
|
, h('div.titleRow', [
|
||||||
h('img', {props: {src: app.nonprofit.logo.normal.url}})
|
h('img', {props: {src: app.nonprofit.logo.normal.url}})
|
||||||
|
|
Loading…
Reference in a new issue