Added login functionality for tech BOD-95

This commit is contained in:
Patrick Fic
2020-06-29 15:24:04 -07:00
parent 2edfadce3a
commit 0e9cc9620b
27 changed files with 552 additions and 115 deletions

View File

@@ -19,7 +19,9 @@ export function TechHeader({ technician }) {
<Header style={{ textAlign: "center" }}>
<Typography.Title style={{ color: "#fff" }}>
{!!technician
? t("tech.labels.loggedin", { name: technician.name })
? t("tech.labels.loggedin", {
name: `${technician.first_name} ${technician.last_name}`,
})
: t("tech.labels.notloggedin")}
</Typography.Title>
</Header>