diff --git a/CHANGELOG.md b/CHANGELOG.md index 94862da7f..f8e3dd7cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,15 @@ +## v2.105.7 - 2024-10-02 + +[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.105.6...v2.105.7) + +- [#2358](https://github.com/ORCID/orcid-angular/pull/2358): lmendoza/fixes-oct-1 +- [#2359](https://github.com/ORCID/orcid-angular/pull/2359): tx pull + ## v2.105.6 - 2024-09-26 [Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.105.5...v2.105.6) -- [#2355](https://github.com/ORCID/orcid-angular/pull/2355): Observability +- [#2355](https://github.com/ORCID/orcid-angular/pull/2355): Observability - [#2354](https://github.com/ORCID/orcid-angular/pull/2354): lmendoza/sep-25-batch-of-fixes ## v2.105.5 - 2024-09-25 diff --git a/src/app/cdk/trusted-summary/component/trusted-summary/trusted-summary.component.html b/src/app/cdk/trusted-summary/component/trusted-summary/trusted-summary.component.html index d6176472c..433600d26 100644 --- a/src/app/cdk/trusted-summary/component/trusted-summary/trusted-summary.component.html +++ b/src/app/cdk/trusted-summary/component/trusted-summary/trusted-summary.component.html @@ -144,7 +144,7 @@

[activitySection]="'affiliations'" > - + { + this.nextButtonWasClicked = true + }) } constructor( private _register: Register2Service, - private _errorStateMatcher: ErrorStateMatcher + private _registerStateService: RegisterStateService ) { super() } diff --git a/src/app/register2/components/form-terms/form-terms.component.ts b/src/app/register2/components/form-terms/form-terms.component.ts index ec3bf671c..4dd9ed513 100644 --- a/src/app/register2/components/form-terms/form-terms.component.ts +++ b/src/app/register2/components/form-terms/form-terms.component.ts @@ -11,6 +11,7 @@ import { Register2Service } from 'src/app/core/register2/register2.service' import { environment } from 'src/environments/environment' import { BaseForm } from '../BaseForm' +import { RegisterStateService } from '../../register-state.service' @Component({ selector: 'app-form-terms', @@ -36,11 +37,12 @@ import { BaseForm } from '../BaseForm' }) // tslint:disable-next-line: class-name export class FormTermsComponent extends BaseForm implements OnInit, DoCheck { - @Input() nextButtonWasClicked: boolean + nextButtonWasClicked: boolean environment = environment constructor( private _register: Register2Service, - private _errorStateMatcher: ErrorStateMatcher + private _errorStateMatcher: ErrorStateMatcher, + private _registerStateService: RegisterStateService ) { super() } @@ -53,6 +55,9 @@ export class FormTermsComponent extends BaseForm implements OnInit, DoCheck { termsOfUse: this.termsOfUse, dataProcessed: this.dataProcessed, }) + this._registerStateService.getNextButtonClickFor('d').subscribe(() => { + this.nextButtonWasClicked = true + }) } // OVERWRITE diff --git a/src/app/register2/components/step-d/step-d.component.html b/src/app/register2/components/step-d/step-d.component.html index 3c441ffcc..bf1bc1fbc 100644 --- a/src/app/register2/components/step-d/step-d.component.html +++ b/src/app/register2/components/step-d/step-d.component.html @@ -38,14 +38,8 @@

- - + +