diff options
Diffstat (limited to 'ui/src/components')
-rw-r--r-- | ui/src/components/login.tsx | 1 | ||||
-rw-r--r-- | ui/src/components/user.tsx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ui/src/components/login.tsx b/ui/src/components/login.tsx index 84014f68..ce04d0d4 100644 --- a/ui/src/components/login.tsx +++ b/ui/src/components/login.tsx @@ -111,6 +111,7 @@ export class Login extends Component<any, State> { required /> <button + type="button" disabled={!validEmail(this.state.loginForm.username_or_email)} onClick={linkEvent(this, this.handlePasswordReset)} className="btn p-0 btn-link d-inline-block float-right text-muted small font-weight-bold" diff --git a/ui/src/components/user.tsx b/ui/src/components/user.tsx index 833366a6..a791f0c8 100644 --- a/ui/src/components/user.tsx +++ b/ui/src/components/user.tsx @@ -922,7 +922,7 @@ export class User extends Component<any, UserState> { handleUserSettingsThemeChange(i: User, event: any) { i.state.userSettingsForm.theme = event.target.value; - setTheme(event.target.value); + setTheme(event.target.value, true); i.setState(i.state); } |