1
0
mirror of https://github.com/flarum/core.git synced 2025-10-11 15:04:25 +02:00

Fix DiscussionRenamedPost not being redrawn when toggling

Closes #428.
This commit is contained in:
Franz Liedke
2016-03-31 09:35:19 +09:00
parent d6c6e78193
commit 328a244f92
2 changed files with 14 additions and 2 deletions

View File

@@ -13,7 +13,12 @@ export default class DiscussionRenamedPost extends EventPost {
init() {
super.init();
this.expanded = true;
this.expanded = false;
// Rerender the post content when we toggle the details.
this.subtree.check(
() => this.expanded
);
}
icon() {