From 7de5770d5bd45d40978263c79f30cb45b5dab2e2 Mon Sep 17 00:00:00 2001 From: Clark Winkelmann Date: Sat, 22 Sep 2018 23:48:03 +0200 Subject: [PATCH] Use new newDiscussion method after core promise cleanup (#51) --- extensions/tags/js/src/forum/addTagComposer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/tags/js/src/forum/addTagComposer.js b/extensions/tags/js/src/forum/addTagComposer.js index 7fec58d5f..bc7fbaa61 100644 --- a/extensions/tags/js/src/forum/addTagComposer.js +++ b/extensions/tags/js/src/forum/addTagComposer.js @@ -6,7 +6,7 @@ import TagDiscussionModal from './components/TagDiscussionModal'; import tagsLabel from '../common/helpers/tagsLabel'; export default function() { - extend(IndexPage.prototype, 'composeNewDiscussion', function(promise) { + extend(IndexPage.prototype, 'newDiscussionAction', function(promise) { const tag = app.store.getBy('tags', 'slug', this.params().tags); if (tag) {