Skip to content

Commit

Permalink
Ntueeplus 305 (#270)
Browse files Browse the repository at this point in the history
* nothing

* temporarily enable matching

* nothing
  • Loading branch information
weiber2002 authored May 2, 2024
1 parent aa920e4 commit e807129
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/src/views/auth/matching/RunMatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const RunMatch = ({ hasSent, setHasSent, hasMatched, setHasMatched }) => {
const [endTime, setEndTime] = useState('')
const [newStartTime, setNewStartTime] = useState('')
const [newEndTime, setNewEndTime] = useState('')
const [snumber, setSnumber] = useState(0)
const [jnumber, setJnumber] = useState(0)
const [snumber, setSnumber] = useState(0) // 學長姐
const [jnumber, setJnumber] = useState(0) // 學弟妹
const [loading, setLoading] = useState(true)
const [pass, setPass] = useState(false)
const nowDate = new Date()
Expand Down Expand Up @@ -198,7 +198,8 @@ const RunMatch = ({ hasSent, setHasSent, hasMatched, setHasMatched }) => {
</h2>
<button
className="btn btn-danger mt-3 mx-1"
disabled={!hasSent && (snumber !== 0 || jnumber !== 0)}
// disabled={!hasSent && (snumber !== 0 || jnumber !== 0)}
disabled={snumber !== 0 || jnumber !== 0}
onClick={() => setIsModal(true)}
>
<h5 className="m-0">我要開新的一期</h5>
Expand Down
Empty file removed client/src/views/in/agent.js
Empty file.
Empty file removed client/src/views/in/form.js
Empty file.
Empty file removed client/src/views/out/agent.js
Empty file.
Empty file removed client/src/views/out/form.js
Empty file.

0 comments on commit e807129

Please sign in to comment.