Skip to content

Commit

Permalink
СB-4018 reportObserved for TempDataContext getOwn fn
Browse files Browse the repository at this point in the history
  • Loading branch information
s.teleshev committed Mar 1, 2024
1 parent 5501d9b commit ba050d8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export class TempDataContext implements IDataContext {
}

getOwn<T>(context: DataContextGetter<T>): T | undefined {
this.atom.reportObserved();
if (this.map.has(context)) {
return this.map.get(context);
}
Expand Down

0 comments on commit ba050d8

Please sign in to comment.