fixed issue causing apple to not load time tickets
This commit is contained in:
@@ -45,7 +45,9 @@ export function EmployeeSignIn({
|
|||||||
initialValues={{ employeeId: "", pin: "" }}
|
initialValues={{ employeeId: "", pin: "" }}
|
||||||
onSubmit={formSubmit}
|
onSubmit={formSubmit}
|
||||||
>
|
>
|
||||||
{({ handleChange, handleBlur, handleSubmit, values }) => (
|
{({ handleChange, handleBlur, handleSubmit, values }) => {
|
||||||
|
const signingErrorMsg = signingError ? (<ErrorDisplay errorMessage={signingError} />) : null;
|
||||||
|
return(
|
||||||
<View>
|
<View>
|
||||||
<TextInput
|
<TextInput
|
||||||
label={t("employeesignin.fields.employeeid")}
|
label={t("employeesignin.fields.employeeid")}
|
||||||
@@ -66,7 +68,7 @@ export function EmployeeSignIn({
|
|||||||
value={values.pin}
|
value={values.pin}
|
||||||
style={[localStyles.input]}
|
style={[localStyles.input]}
|
||||||
/>
|
/>
|
||||||
{signingError && <ErrorDisplay errorMessage={signingError} />}
|
{signingErrorMsg}
|
||||||
<Button
|
<Button
|
||||||
mode="outlined"
|
mode="outlined"
|
||||||
loading={signingIn}
|
loading={signingIn}
|
||||||
@@ -75,7 +77,8 @@ export function EmployeeSignIn({
|
|||||||
<Text>{t("employeesignin.actions.employeesignin")}</Text>
|
<Text>{t("employeesignin.actions.employeesignin")}</Text>
|
||||||
</Button>
|
</Button>
|
||||||
</View>
|
</View>
|
||||||
)}
|
)
|
||||||
|
}}
|
||||||
</Formik>
|
</Formik>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user