Browse Source

Update Stack status on layer change

up-style-manager
Artur Arseniev 5 years ago
parent
commit
8cd244fe6a
  1. 5
      src/style_manager/view/PropertyStackView.js

5
src/style_manager/view/PropertyStackView.js

@ -21,7 +21,10 @@ export default PropertyCompositeView.extend({
`;
},
init() {},
init() {
const { model } = this;
this.listenTo(model.getLayers(), 'change', this.updateStatus);
},
addLayer() {
this.model.addLayer({}, { at: 0 });

Loading…
Cancel
Save