From 9c630167b41f630d55d391be5d529f5b209a38a7 Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sat, 23 Aug 2025 10:45:52 +0700 Subject: [PATCH] resolve comments --- .../login-with-access-token-dialog.component.ts | 6 +++--- .../login-with-access-token-dialog.html | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) 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 e143194e1..4f11f1025 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 @@ -21,7 +21,7 @@ import { eyeOffOutline, eyeOutline } from 'ionicons/icons'; standalone: false }) export class LoginWithAccessTokenDialog { - public accessTokenControl = new FormControl( + public accessTokenFormControl = new FormControl( this.data.accessToken, Validators.required ); @@ -50,9 +50,9 @@ export class LoginWithAccessTokenDialog { } public onLoginWithAccessToken() { - if (this.accessTokenControl.valid) { + if (this.accessTokenFormControl.valid) { this.dialogRef.close({ - accessToken: this.accessTokenControl.value + accessToken: this.accessTokenFormControl.value }); } } diff --git a/apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.html b/apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.html index bcce4bfa8..dca06f970 100644 --- a/apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.html +++ b/apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.html @@ -11,7 +11,7 @@ Security Token