diff --git a/addon/components/flash-message.js b/addon/components/flash-message.js index 2288b3de..fef73dce 100644 --- a/addon/components/flash-message.js +++ b/addon/components/flash-message.js @@ -28,7 +28,7 @@ export default class FlashMessage extends Component { exiting; @bool('template') - hasBlock; + hasTemplate; @computed('messageStyle') get _defaultMessageStylePrefix() { diff --git a/addon/templates/components/flash-message.hbs b/addon/templates/components/flash-message.hbs index 7029a7c4..fedf1eef 100644 --- a/addon/templates/components/flash-message.hbs +++ b/addon/templates/components/flash-message.hbs @@ -6,7 +6,7 @@ {{did-insert this.onDidInsert}} {{will-destroy this.onWillDestroy}} > - {{#if hasBlock}} + {{#if hasTemplate}} {{yield this this.flash (action "onClose")}} {{else}} {{this.flash.message}}