Fix Stream function code being shown when renaming discussion (#2693)

This commit is contained in:
David Sevilla Martín 2021-03-15 21:42:22 -04:00 committed by GitHub
parent 9fffb8ec1a
commit 386f3d3db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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