Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
fix: hotfix to unbreak the request_form
Browse files Browse the repository at this point in the history
  • Loading branch information
rahularya50 committed Jul 7, 2020
1 parent df64c9c commit 84c8446
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oh_queue/static/js/components/request_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ let RequestForm = (props) => {
disabled={disabled && !appointments}/>
</div>
</div>
{showOnlineInput && (party_enabled || JSON.parse(state.config.students_set_online_link) || JSON.parse(state.config.students_set_online_doc)) && (
{(showOnlineInput || party_enabled) && (party_enabled || JSON.parse(state.config.students_set_online_link) || JSON.parse(state.config.students_set_online_doc)) && (
<React.Fragment>
{(party_enabled || JSON.parse(state.config.students_set_online_link)) && (
<div className="form-group form-group-lg">
Expand All @@ -120,7 +120,7 @@ let RequestForm = (props) => {
<div className="form-group form-group-lg">
<label htmlFor="doc-link">Shared Document Link (optional)</label>
<input className="form-control" type="text" id="doc-link"
name="doc-link" title="Shared Doc Link" placeholder="docs.google.com/xyz" required
name="doc-link" title="Shared Doc Link" placeholder="docs.google.com/xyz"
disabled={disabled && !appointments}
/>
</div>
Expand Down

0 comments on commit 84c8446

Please sign in to comment.