diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f99ffa13..560bc3949 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,13 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Refactored the login with access token dialog component to standalone - Extended the variations of the interstitials for the subscription - Renamed the job identifier column in the jobs queue view of the admin control panel - Refactored the markets page to standalone - Refactored the fear and greed index component to standalone - Refactored the header component to standalone - Refactored the investment chart component to standalone +- Refactored the login with access token dialog component to standalone - Refactored the rule component to standalone - Refactored the rules component to standalone - Refactored the subscription interstitial dialog component to standalone diff --git a/apps/client/src/app/components/header/header.component.ts b/apps/client/src/app/components/header/header.component.ts index 02a11fc0b..c4d49407a 100644 --- a/apps/client/src/app/components/header/header.component.ts +++ b/apps/client/src/app/components/header/header.component.ts @@ -49,7 +49,7 @@ import { } from '../../services/settings-storage.service'; import { TokenStorageService } from '../../services/token-storage.service'; import { UserService } from '../../services/user/user.service'; -import { GfLoginWithAccessTokenDialog } from '../login-with-access-token-dialog/login-with-access-token-dialog.component'; +import { GfLoginWithAccessTokenDialogComponent } from '../login-with-access-token-dialog/login-with-access-token-dialog.component'; @Component({ changeDetection: ChangeDetectionStrategy.OnPush, @@ -59,7 +59,6 @@ import { GfLoginWithAccessTokenDialog } from '../login-with-access-token-dialog/ GfLogoComponent, GfPremiumIndicatorComponent, IonIcon, - GfLoginWithAccessTokenDialog, MatBadgeModule, MatButtonModule, MatMenuModule, @@ -273,7 +272,7 @@ export class GfHeaderComponent implements OnChanges { } public openLoginDialog() { - const dialogRef = this.dialog.open(GfLoginWithAccessTokenDialog, { + const dialogRef = this.dialog.open(GfLoginWithAccessTokenDialogComponent, { autoFocus: false, data: { accessToken: '', diff --git a/apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.component.ts b/apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.component.ts index b16becbbc..e56e6a626 100644 --- a/apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.component.ts +++ b/apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.component.ts @@ -43,7 +43,7 @@ import { GfDialogHeaderComponent } from '../dialog-header/dialog-header.componen styleUrls: ['./login-with-access-token-dialog.scss'], templateUrl: './login-with-access-token-dialog.html' }) -export class GfLoginWithAccessTokenDialog { +export class GfLoginWithAccessTokenDialogComponent { public accessTokenFormControl = new FormControl( this.data.accessToken, Validators.required @@ -52,7 +52,7 @@ export class GfLoginWithAccessTokenDialog { public constructor( @Inject(MAT_DIALOG_DATA) public data: any, - public dialogRef: MatDialogRef, + public dialogRef: MatDialogRef, private internetIdentityService: InternetIdentityService, private router: Router, private settingsStorageService: SettingsStorageService,