From 386f3d3db17845be0e5c31cb6859c84d14b90393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sevilla=20Mart=C3=ADn?= <6401250+datitisev@users.noreply.github.com> Date: Mon, 15 Mar 2021 21:42:22 -0400 Subject: [PATCH] Fix Stream function code being shown when renaming discussion (#2693) --- js/src/forum/components/RenameDiscussionModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/forum/components/RenameDiscussionModal.js b/js/src/forum/components/RenameDiscussionModal.js index 2d1682236..30be96f33 100644 --- a/js/src/forum/components/RenameDiscussionModal.js +++ b/js/src/forum/components/RenameDiscussionModal.js @@ -49,7 +49,7 @@ export default class RenameDiscussionModal extends Modal { this.loading = true; - const title = this.newTitle; + const title = this.newTitle(); const currentTitle = this.currentTitle; // If the title is different to what it was before, then save it. After the