@ -38,8 +38,8 @@ export default class Property extends Model {
_up(props, opts = {}) {
const { partial, ...rest } = opts;
props.__p = !!partial;
return this.set(props, { ...rest, avoidStore: !!partial });
props.__p = !!(rest.avoidStore || partial);
return this.set(props, { ...rest, avoidStore: props.__p });
}
init() {}
@ -78,7 +78,7 @@ export default Property.extend({
this.getLayers().reset(layersNew);
console.log('_up from stack', this.get('property'), { layersNew, rest, opts, currValue: this.getFullValue() });
console.log('_up from stack', this.get('property'), { layersNew, rest, opts });
return Property.prototype._up.call(this, rest, opts);
},