PM-8111 - Two TODO cleanups

This commit is contained in:
Jared Snider 2024-09-30 16:08:50 -04:00
parent 8469e3541a
commit 86a10f21b3
No known key found for this signature in database
GPG Key ID: A149DDD612516286
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ export class DesktopLoginService {
*/
setupWindowFocusHandler(focusInputCallback: () => void): void {
const subscriptionId = "LoginComponent";
// TODO-rr-bw: refactor to not use deprecated broadcaster service.
// TODO: refactor to not use deprecated broadcaster service.
this.broadcasterService.subscribe(subscriptionId, (message: any) => {
this.ngZone.run(() => {
if (message.command === "windowIsFocused") {

View File

@ -116,7 +116,7 @@ export class LoginComponent implements OnInit, OnDestroy {
showResetPasswordAutoEnrollWarning = false;
// Desktop properties
deferFocus: boolean = null; // TODO-rr-bw: why initialize to null instead of false
deferFocus: boolean | null = null;
constructor(
private activatedRoute: ActivatedRoute,