fix: add new blocks to merge table before fetching previous constructs when calculating points added by construct update (#5098)
This commit is contained in:
parent
328a6a4a10
commit
532e376895
1 changed files with 3 additions and 3 deletions
|
|
@ -378,12 +378,12 @@ class AnalyticsDataService {
|
|||
|
||||
_invalidateCaches();
|
||||
await _ensureInitialized();
|
||||
await _analyticsClientGetter.database.updateLocalAnalytics(
|
||||
update.addedConstructs,
|
||||
);
|
||||
|
||||
final blocked = blockedConstructs;
|
||||
_mergeTable.addConstructsByUses(update.addedConstructs, blocked);
|
||||
await _analyticsClientGetter.database.updateLocalAnalytics(
|
||||
update.addedConstructs,
|
||||
);
|
||||
|
||||
final newConstructs = await getConstructUses(updateIds);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue