DEV: Fix a computed property overwrite (#14927)

There's a `category` computed property that already does what this piece of code did.
This commit is contained in:
Jarek Radosz 2021-11-15 00:39:20 +01:00 committed by GitHub
parent 2b848213f7
commit 9711caf7ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -46,11 +46,6 @@ const Reviewable = RestModel.extend({
updated.payload || {}
);
if (updated.category_id) {
updated.category = Category.findById(updated.category_id);
delete updated.category_id;
}
this.setProperties(updated);
});
},