From b55f2a627047613ae2a67c5a0232a6aa3e69f138 Mon Sep 17 00:00:00 2001 From: marstall Date: Fri, 26 Jul 2024 14:00:10 -0400 Subject: [PATCH] needed () to work (#28099) --- app/assets/javascripts/discourse/app/lib/flag-targets/flag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/lib/flag-targets/flag.js b/app/assets/javascripts/discourse/app/lib/flag-targets/flag.js index dd1d59b0a51..e712d7149ec 100644 --- a/app/assets/javascripts/discourse/app/lib/flag-targets/flag.js +++ b/app/assets/javascripts/discourse/app/lib/flag-targets/flag.js @@ -13,7 +13,7 @@ export default class Flag { // an instance of ActionSummary const postAction = this.postActionFor(flagModal); flagModal.appEvents.trigger( - this.flagCreatedEvent, + this.flagCreatedEvent(), flagModal.args.model.flagModel, postAction, opts