FIX: prevents constant composer reloading (#9528)

This commit is contained in:
Joffrey JAFFEUX
2020-04-23 07:54:29 +02:00
committed by GitHub
parent d69ec186b9
commit 7132c50f3b

View File

@@ -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")