Browse Source

Avoid block rendering on category init. Closes #3284

pull/3308/head
Artur Arseniev 5 years ago
parent
commit
8356f4cc34
  1. 2
      src/block_manager/view/BlocksView.js

2
src/block_manager/view/BlocksView.js

@ -139,7 +139,7 @@ export default Backbone.View.extend({
var catId = catModel.get('id');
var catView = this.renderedCategories[catId];
var categories = this.getCategoriesEl();
model.set('category', catModel);
model.set('category', catModel, { silent: true });
if (!catView && categories) {
catView = new CategoryView(

Loading…
Cancel
Save