Web: Login: fix warning

This commit is contained in:
Viktor Fomin 2022-03-28 18:09:08 +03:00
parent 265132dbec
commit cbfbc4faae

View File

@ -441,7 +441,7 @@ const Form = (props) => {
isVertical={true}
labelVisible={false}
hasError={!passwordValid}
errorMessage={!password.trim() && t("Common:RequiredField")} //TODO: Add wrong password server error
errorMessage={!password.trim() ? t("Common:RequiredField") : ""} //TODO: Add wrong password server error
>
<PasswordInput
simpleView={true}