mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 16:41:18 +08:00
FIX: Close info was not showing up after removing an attribute
It was removed in 4cc22a55a0
.
This commit is contained in:
parent
aff23a28f8
commit
2fde257506
|
@ -542,7 +542,6 @@ const Composer = Discourse.Model.extend({
|
|||
// It's no longer a new post
|
||||
createdPost.set('newPost', false);
|
||||
topic.set('draft_sequence', result.draft_sequence);
|
||||
topic.set('details.auto_close_at', result.topic_auto_close_at);
|
||||
postStream.commitPost(createdPost);
|
||||
addedToStream = true;
|
||||
} else {
|
||||
|
|
|
@ -624,9 +624,6 @@ const PostStream = Ember.Object.extend({
|
|||
return existing;
|
||||
}
|
||||
|
||||
// Update the auto_close_at value of the topic
|
||||
this.set("topic.details.auto_close_at", post.get("topic_auto_close_at"));
|
||||
|
||||
post.set('topic', this.get('topic'));
|
||||
postIdentityMap.set(post.get('id'), post);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user