diff --git a/frontend/src/app/components/company/company.component.html b/frontend/src/app/components/company/company.component.html index ccc4e3f7e..45a4a10d0 100644 --- a/frontend/src/app/components/company/company.component.html +++ b/frontend/src/app/components/company/company.component.html @@ -205,11 +205,12 @@

Members - + diff --git a/frontend/src/app/components/company/company.component.ts b/frontend/src/app/components/company/company.component.ts index d2d8a7b3a..c611d3c24 100644 --- a/frontend/src/app/components/company/company.component.ts +++ b/frontend/src/app/components/company/company.component.ts @@ -207,4 +207,16 @@ export class CompanyComponent { }); } } + + changeShowTestConnections(checked: boolean) { + const displayMode = checked ? 'on' : 'off'; + this.submitting = true; + this._company.updateShowTestConnections(displayMode).subscribe(() => { + this.submitting = false; + this.angulartics2.eventTrack.next({ + action: 'Company: show test connections is updated successfully', + }); + }); + + } } diff --git a/frontend/src/app/components/user-settings/user-settings.component.html b/frontend/src/app/components/user-settings/user-settings.component.html index 62d7e8448..f53bce515 100644 --- a/frontend/src/app/components/user-settings/user-settings.component.html +++ b/frontend/src/app/components/user-settings/user-settings.component.html @@ -85,6 +85,15 @@

+ + Show test connections + +