ryanto / ember-flash-message

Flash message for Ember.JS templates.
49 stars 23 forks source link

message.text is empty when setting message from controller #24

Open daniely opened 9 years ago

daniely commented 9 years ago

This is the version I'm using.

When I set the flash message in a controller message.text in the template ends up being blank. I have to use message instead. My workaround for now is to use this in my template:

        {{#if message.text}}
          {{message.text}}
        {{else}}
          {{message}}
        {{/if}}