adopted-ember-addons / adopted-ember-addons/ember-cli-flash

flashMessages is not working in newly create ember app

Aperta
#385 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
355
Fork
118
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

1. Create a new app using ember new testApp
2. Installed latest version of ember-cli-flash
3. created a test component
`import Component from "@glimmer/component";
import { inject as service } from "@ember/service";

export default class TestComponent extends Component {
@service flashMessages;

constructor() {
super(...arguments);
setTimeout(() => {
this.flashMessages.alert("dsfsf");
}, 1000)
}

}`
Calling TestComponent from application.hbs but flash message is not showing.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.