Skip to content

Commit c5d46ba

Browse files
Merge pull request #491 from HackRU/env/dev
qr code
2 parents 9861ecb + 147eddc commit c5d46ba

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

src/components/Dashboard/Dashboard.jsx

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import ApplicationStatus from "./ApplicationStatus";
66
import Loading from "./Loading";
77
import ProfileMessage from "./ProfileMessage";
88
import AdminControl from "./AdminControl";
9-
// import QR from "./QR";
9+
import QR from "./QR";
1010
// import TravelReimbursementsForm from "./Forms/TravelReimbursementsForm";
1111
// import UserProfileForm from "./Forms/UserProfileForm/UserProfileForm";
1212
import { ProfileType } from "../Profile";
@@ -195,6 +195,27 @@ class Dashboard extends Component {
195195
</div>
196196
</Col>
197197
</Row>
198+
{SHOW_FLAG ? (
199+
<Row>
200+
<Section
201+
title="Check-in"
202+
color="red"
203+
isOpen={true}
204+
>
205+
<div
206+
style={{
207+
marginTop: 0,
208+
textAlign: "center",
209+
width: "100%",
210+
}}
211+
>
212+
<QR email={this.props.profile._email} />
213+
</div>
214+
</Section>
215+
</Row>
216+
) : (
217+
<br />
218+
)}
198219
{SHOW_FLAG ? (
199220
<Row>
200221
<Section

0 commit comments

Comments
 (0)