Skip to content

Commit

Permalink
Fix Ember tracking issue on set (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer authored Jul 8, 2021
1 parent 750eb3e commit 211bb6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/key-in-object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function keyInObject(obj: any, key: string): boolean {
}

if (!keys.length) {
return !!obj[baseKey];
return baseKey in obj;
}

let value = obj[baseKey];
Expand Down

0 comments on commit 211bb6f

Please sign in to comment.