Browse Source

Update getSelectedAll

fix-leaks-2
Artur Arseniev 6 years ago
parent
commit
3a3fad89e2
  1. 3
      src/editor/model/Editor.js

3
src/editor/model/Editor.js

@ -281,7 +281,8 @@ export default Backbone.Model.extend({
* @private
*/
getSelectedAll() {
return this.get('selected').models;
const sel = this.get('selected');
return sel ? sel.models : [];
},
/**

Loading…
Cancel
Save