PM-8111 - Two TODO cleanups
This commit is contained in:
parent
8469e3541a
commit
86a10f21b3
|
@ -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") {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue