Skip to content

Commit

Permalink
Fix unintended prefetching. (#501)
Browse files Browse the repository at this point in the history
Signed-off-by: James Chien <[email protected]>
  • Loading branch information
shc261392 committed Jan 29, 2021
1 parent 62b99cf commit c602e89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/features/home/home.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export class HomePage {
});
}
}
await this.onboardingService.setHasPrefetchedDiaBackendAssets(true);
}

private async showPrefetchAlert() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class DiaBackendAssetRepository {
concatMap(headers =>
this.httpClient.get<PaginatedResponse<DiaBackendAsset>>(
`${BASE_URL}/api/v2/assets/`,
{ headers }
{ headers, params: { is_original_owner: 'true' } }
)
),
pluck('count'),
Expand Down

0 comments on commit c602e89

Please sign in to comment.