diff --git a/app/assets/javascripts/discourse/app/components/composer-messages.js b/app/assets/javascripts/discourse/app/components/composer-messages.js index e4936b6410e..81aae9052d4 100644 --- a/app/assets/javascripts/discourse/app/components/composer-messages.js +++ b/app/assets/javascripts/discourse/app/components/composer-messages.js @@ -272,13 +272,13 @@ export default class ComposerMessages extends Component { this.set("checkedMessages", true); - for (const msg of messages) { + messages.forEach((msg) => { if (msg.wait_for_typing) { this.queuedForTyping.addObject(msg); } else { this.popup(msg); } - } + }); } @action