Skip to content

Commit

Permalink
show_flag
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielWeinbrenner committed Nov 7, 2020
1 parent c78a89d commit 5bab5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Dashboard/Dashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class Dashboard extends Component {
user.how_you_heard_about_hackru = user.how_you_heard_about_hackru || "";
user.reasons = user.reasons || "";
// boolean to show the other stuff
let SHOW_FLAG = defaults.dayof && user["check-in-after"] && (user["registration_status"] === "confirmed");
let SHOW_FLAG = defaults.dayof && (user["check-in-after"] || user["check-in"]) && (user["registration_status"] === "confirmed");
// let mobile = this.props.isMobile;
let rolesString = "";
Object.keys(user.role).forEach((key) => { if (user.role[key]) { rolesString += `${key}, `; }});
Expand Down

0 comments on commit 5bab5ae

Please sign in to comment.