From 0c4527323e5bdfc9137dec2e1cfa37b26d381906 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 17 Aug 2017 14:46:59 -0400 Subject: [PATCH] FIX: queues posts broken for multiple posts --- app/assets/javascripts/discourse/components/queued-post.js.es6 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/queued-post.js.es6 b/app/assets/javascripts/discourse/components/queued-post.js.es6 index bd1e3292d14..b0b40c996bb 100644 --- a/app/assets/javascripts/discourse/components/queued-post.js.es6 +++ b/app/assets/javascripts/discourse/components/queued-post.js.es6 @@ -19,13 +19,14 @@ function updateState(state, opts) { export default Ember.Component.extend(bufferedProperty('editables'), { editing: propertyEqual('post', 'currentlyEditing'), - editables: {}, + editables: null, _confirmDelete: updateState('rejected', {deleteUser: true}), _initEditables: function() { const post = this.get('post'); const postOptions = post.get('post_options'); + this.set('editables', {}); this.set('editables.raw', post.get('raw')); this.set('editables.category', post.get('category')); this.set('editables.category_id', post.get('category.id'));