We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e754956 commit bfe59eeCopy full SHA for bfe59ee
lib/ApiStore.ts
@@ -225,10 +225,12 @@ export default class ApiStore<S> implements StoreOptions<S> {
225
if (has(state.items, entity.id)) {
226
const storeEntity = state.items[entity.id];
227
forEach(entity, (value, name: string) => {
228
- if (!isFunction(value) && !has(model.references, name)) {
229
- if (has(entity, name) && !isEqual(value, get(storeEntity, name))) {
230
- Vue.set(storeEntity, name, value);
231
- }
+ if (
+ !isFunction(value) &&
+ has(entity, name) &&
+ !isEqual(value, get(storeEntity, name))
232
+ ) {
233
+ Vue.set(storeEntity, name, value);
234
}
235
});
236
0 commit comments