FIX: queues posts broken for multiple posts

This commit is contained in:
Sam 2017-08-17 14:46:59 -04:00
parent 4b0dcd64eb
commit 0c4527323e
1 changed files with 2 additions and 1 deletions

View File

@ -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'));