diff --git a/apps/client/src/app/pages/register/register-page.component.ts b/apps/client/src/app/pages/register/register-page.component.ts index 1ab43b66e..634dd0e74 100644 --- a/apps/client/src/app/pages/register/register-page.component.ts +++ b/apps/client/src/app/pages/register/register-page.component.ts @@ -19,15 +19,15 @@ import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; import { ShowAccessTokenDialogParams } from './show-access-token-dialog/interfaces/interfaces'; -import { ShowAccessTokenDialog } from './show-access-token-dialog/show-access-token-dialog.component'; +import { GfShowAccessTokenDialogComponent } from './show-access-token-dialog/show-access-token-dialog.component'; @Component({ host: { class: 'page' }, imports: [ GfLogoComponent, + GfShowAccessTokenDialogComponent, MatButtonModule, - RouterModule, - ShowAccessTokenDialog + RouterModule ], schemas: [CUSTOM_ELEMENTS_SCHEMA], selector: 'gf-register-page', @@ -89,7 +89,7 @@ export class GfRegisterPageComponent implements OnDestroy, OnInit { } public openShowAccessTokenDialog() { - const dialogRef = this.dialog.open(ShowAccessTokenDialog, { + const dialogRef = this.dialog.open(GfShowAccessTokenDialogComponent, { data: { deviceType: this.deviceType, needsToAcceptTermsOfService: this.hasPermissionForSubscription diff --git a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts index 0efaba570..a73d1cf2a 100644 --- a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts +++ b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts @@ -20,6 +20,7 @@ import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; import { MatStepper, MatStepperModule } from '@angular/material/stepper'; import { RouterModule } from '@angular/router'; +import { IonIcon } from '@ionic/angular/standalone'; import { addIcons } from 'ionicons'; import { arrowForwardOutline, @@ -37,6 +38,7 @@ import { ShowAccessTokenDialogParams } from './interfaces/interfaces'; ClipboardModule, CommonModule, FormsModule, + IonIcon, MatButtonModule, MatCheckboxModule, MatDialogModule, @@ -52,7 +54,7 @@ import { ShowAccessTokenDialogParams } from './interfaces/interfaces'; styleUrls: ['./show-access-token-dialog.scss'], templateUrl: 'show-access-token-dialog.html' }) -export class ShowAccessTokenDialog { +export class GfShowAccessTokenDialogComponent { @ViewChild(MatStepper) stepper!: MatStepper; public accessToken: string;