-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flashMessages is not working in newly create ember app #385
Comments
Randhir-93
changed the title
flashMessages is not working in cloned super-rentals repo from github
flashMessages is not working in newly create ember app
Jul 14, 2022
Make sure you are also displaying the message queue somewhere in the template: {{#each this.flashMessages.queue as |flash|}}
<FlashMessage @flash={{flash}} />
{{/each}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`import Component from "@glimmer/component";
import { inject as service } from "@ember/service";
export default class TestComponent extends Component {
@service flashMessages;
}`
Calling TestComponent from application.hbs but flash message is not showing.
The text was updated successfully, but these errors were encountered: