|
@ -19,15 +19,15 @@ import { Subject } from 'rxjs'; |
|
|
import { takeUntil } from 'rxjs/operators'; |
|
|
import { takeUntil } from 'rxjs/operators'; |
|
|
|
|
|
|
|
|
import { ShowAccessTokenDialogParams } from './show-access-token-dialog/interfaces/interfaces'; |
|
|
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({ |
|
|
@Component({ |
|
|
host: { class: 'page' }, |
|
|
host: { class: 'page' }, |
|
|
imports: [ |
|
|
imports: [ |
|
|
GfLogoComponent, |
|
|
GfLogoComponent, |
|
|
|
|
|
GfShowAccessTokenDialogComponent, |
|
|
MatButtonModule, |
|
|
MatButtonModule, |
|
|
RouterModule, |
|
|
RouterModule |
|
|
ShowAccessTokenDialog |
|
|
|
|
|
], |
|
|
], |
|
|
schemas: [CUSTOM_ELEMENTS_SCHEMA], |
|
|
schemas: [CUSTOM_ELEMENTS_SCHEMA], |
|
|
selector: 'gf-register-page', |
|
|
selector: 'gf-register-page', |
|
@ -89,7 +89,7 @@ export class GfRegisterPageComponent implements OnDestroy, OnInit { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public openShowAccessTokenDialog() { |
|
|
public openShowAccessTokenDialog() { |
|
|
const dialogRef = this.dialog.open(ShowAccessTokenDialog, { |
|
|
const dialogRef = this.dialog.open(GfShowAccessTokenDialogComponent, { |
|
|
data: { |
|
|
data: { |
|
|
deviceType: this.deviceType, |
|
|
deviceType: this.deviceType, |
|
|
needsToAcceptTermsOfService: this.hasPermissionForSubscription |
|
|
needsToAcceptTermsOfService: this.hasPermissionForSubscription |
|
|