diff --git a/frontend/src/app/models/fasten/metadata-source.ts b/frontend/src/app/models/fasten/metadata-source.ts index 305d5843..8af9bc7c 100644 --- a/frontend/src/app/models/fasten/metadata-source.ts +++ b/frontend/src/app/models/fasten/metadata-source.ts @@ -2,5 +2,5 @@ export class MetadataSource { source_type: string display: string category: string[] - enabled: boolean + hidden: boolean } diff --git a/frontend/src/app/models/fasten/source-state.ts b/frontend/src/app/models/fasten/source-state.ts index 23a455ae..9cf4d282 100644 --- a/frontend/src/app/models/fasten/source-state.ts +++ b/frontend/src/app/models/fasten/source-state.ts @@ -5,6 +5,6 @@ export class SourceState { code_verifier?: string code_challenge_method?: string code_challenge?: string - enabled: boolean + hidden: boolean redirect_uri?: string } diff --git a/frontend/src/app/pages/dashboard/dashboard.component.ts b/frontend/src/app/pages/dashboard/dashboard.component.ts index ab2c9fd7..bfd23de4 100644 --- a/frontend/src/app/pages/dashboard/dashboard.component.ts +++ b/frontend/src/app/pages/dashboard/dashboard.component.ts @@ -60,7 +60,7 @@ export class DashboardComponent implements OnInit { "source_type": "manual", "display": "Manual", "category": ["Manual"], - "enabled": true, + "hidden": false, } //calculate the number of records diff --git a/frontend/src/app/pages/medical-sources/medical-sources.component.html b/frontend/src/app/pages/medical-sources/medical-sources.component.html index 427cc8c9..73e01950 100644 --- a/frontend/src/app/pages/medical-sources/medical-sources.component.html +++ b/frontend/src/app/pages/medical-sources/medical-sources.component.html @@ -84,7 +84,7 @@