From e3281baf989a0b5c27f68966b6b6ba9525a14d11 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sun, 22 Jan 2023 12:11:55 -0800 Subject: [PATCH] dont request hidden sources by default. Upgrade to latest version of fasten-sources, --- frontend/src/app/pages/dashboard/dashboard.component.ts | 2 +- .../app/pages/medical-sources/medical-sources.component.ts | 2 +- go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/pages/dashboard/dashboard.component.ts b/frontend/src/app/pages/dashboard/dashboard.component.ts index fe5c197c..c03a510b 100644 --- a/frontend/src/app/pages/dashboard/dashboard.component.ts +++ b/frontend/src/app/pages/dashboard/dashboard.component.ts @@ -32,7 +32,7 @@ export class DashboardComponent implements OnInit { ngOnInit() { this.loading = true - forkJoin([this.fastenApi.getSummary(), this.lighthouseApi.getLighthouseSourceMetadataMap(true)]).subscribe(results => { + forkJoin([this.fastenApi.getSummary(), this.lighthouseApi.getLighthouseSourceMetadataMap(false)]).subscribe(results => { this.loading = false let summary = results[0] as Summary let metadataSource = results[1] as { [name: string]: MetadataSource } diff --git a/frontend/src/app/pages/medical-sources/medical-sources.component.ts b/frontend/src/app/pages/medical-sources/medical-sources.component.ts index 540ceae8..6f1b4438 100644 --- a/frontend/src/app/pages/medical-sources/medical-sources.component.ts +++ b/frontend/src/app/pages/medical-sources/medical-sources.component.ts @@ -59,7 +59,7 @@ export class MedicalSourcesComponent implements OnInit { ngOnInit(): void { this.loading = true - forkJoin([this.lighthouseApi.getLighthouseSourceMetadataMap(true), this.fastenApi.getSources()]).subscribe(results => { + forkJoin([this.lighthouseApi.getLighthouseSourceMetadataMap(false), this.fastenApi.getSources()]).subscribe(results => { this.loading = false //handle source metadata map response this.metadataSources = results[0] as {[name:string]: MetadataSource} diff --git a/go.mod b/go.mod index ace8ed7c..3f6c6524 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.18 require ( github.com/analogj/go-util v0.0.0-20210417161720-39b497cca03b github.com/dominikbraun/graph v0.15.0 - github.com/fastenhealth/fasten-sources v0.0.14 + github.com/fastenhealth/fasten-sources v0.1.0 github.com/gin-gonic/gin v1.8.1 github.com/glebarez/sqlite v1.5.0 github.com/golang-jwt/jwt/v4 v4.4.2 diff --git a/go.sum b/go.sum index 55e79945..7da09b7c 100644 --- a/go.sum +++ b/go.sum @@ -74,8 +74,8 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/fastenhealth/fasten-sources v0.0.14 h1:+SGn/gzhC9MU2OzZy8hn9giiuOs6lJgIKPReY8STe5U= -github.com/fastenhealth/fasten-sources v0.0.14/go.mod h1:NBh0n2OBwJC10CHqkIx4WYQcDBRywJU4TAR8rSfR2Ts= +github.com/fastenhealth/fasten-sources v0.1.0 h1:16rAOo/dd35mINRVI7XnCohKK153FLdzOjBduvhhwks= +github.com/fastenhealth/fasten-sources v0.1.0/go.mod h1:NBh0n2OBwJC10CHqkIx4WYQcDBRywJU4TAR8rSfR2Ts= github.com/fastenhealth/gofhir-models v0.0.4 h1:Q//StwNXGfK+WAS2DckGBHAP1R4cHMRZEF/sLGgmR04= github.com/fastenhealth/gofhir-models v0.0.4/go.mod h1:xB8ikGxu3bUq2b1JYV+CZpHqBaLXpOizFR0eFBCunis= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=