@measured/puck 0.18.0-canary.874ba1b → 0.18.0-canary.99e9ecb

Sign up to get free protection for your applications and to get access to all the features.
@@ -135,13 +135,11 @@ var resolveComponentData = (item, config, onResolveStart, onResolveEnd) => __asy
135
135
  onResolveStart(item);
136
136
  }
137
137
  const { props: resolvedProps, readOnly = {} } = yield configForItem.resolveData(item, { changed, lastData: oldItem });
138
- const { readOnly: existingReadOnly = {} } = item || {};
139
- const newReadOnly = __spreadValues(__spreadValues({}, existingReadOnly), readOnly);
140
138
  const resolvedItem = __spreadProps(__spreadValues({}, item), {
141
139
  props: __spreadValues(__spreadValues({}, item.props), resolvedProps)
142
140
  });
143
- if (Object.keys(newReadOnly).length) {
144
- resolvedItem.readOnly = newReadOnly;
141
+ if (Object.keys(readOnly).length) {
142
+ resolvedItem.readOnly = readOnly;
145
143
  }
146
144
  cache.lastChange[item.props.id] = {
147
145
  item,