FIX: prevents constant composer reloading (#9528)

FIX: prevents constant composer reloading (#9528)

diff --git a/app/assets/javascripts/discourse/components/d-editor.js b/app/assets/javascripts/discourse/components/d-editor.js
index 11ec7b0..faeeb11 100644
--- a/app/assets/javascripts/discourse/components/d-editor.js
+++ b/app/assets/javascripts/discourse/components/d-editor.js
@@ -328,7 +328,7 @@ export default Component.extend({
     $(this.element.querySelector(".d-editor-preview")).off("click.preview");
   },
 
-  @discourseComputed("attrs.outletArgs.composer.action")
+  @discourseComputed()
   toolbar() {
     const toolbar = new Toolbar(
       this.getProperties("site", "siteSettings", "showLink")

GitHub sha: 7132c50f

This commit appears in #9528 which was merged by jjaffeux.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/why-do-i-feel-writing-in-discourse-composer-became-slow/148948/9