bug fixed

This commit is contained in:
richard-loafle 2020-04-07 14:31:36 +09:00
parent 0f407021c7
commit 01fa50b480

View File

@ -93,6 +93,19 @@ export class LoginSectionComponent implements OnInit, OnDestroy {
.subscribe((param) => {
this.loginTry = param.value as LoginTry;
});
if (!!this.userStore && this.userStore.rememberMe) {
this.chkUseRememberMe.checked = true;
}
if (
!!this.userStore &&
!!this.userStore.settings &&
!!this.userStore.settings.general &&
this.userStore.settings.general.autoLogin
) {
this.chkUseAutoLogin.checked = true;
}
}
ngOnDestroy(): void {