New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: allow attendee checkin for several days #7391
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/6f1pep9cmq9To1FGQotpAas6LnW2 |
Codecov Report
@@ Coverage Diff @@
## development #7391 +/- ##
===============================================
- Coverage 20.78% 20.73% -0.06%
===============================================
Files 581 582 +1
Lines 6615 6623 +8
Branches 149 149
===============================================
- Hits 1375 1373 -2
- Misses 5213 5223 +10
Partials 27 27
Continue to review full report at Codecov.
|
Please add screenshots to all PRs. |
there is nothing to add as a screenshot in this PR, it can be tested only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
ccc7491
@@ -74,7 +74,7 @@ export default class extends Controller.extend(EmberTableControllerMixin) { | |||
const attendee = this.store.peekRecord('attendee', attendee_id, { backgroundReload: false }); | |||
attendee.toggleProperty('isCheckedIn'); | |||
if (attendee.isCheckedIn) { | |||
const newCheckinTimes = attendee.get('checkinTimes') === null ? `${moment().toISOString()}` : `${attendee.get('checkinTimes')},${moment().toISOString()}`; | |||
const newCheckinTimes = attendee.get('checkinTimes') === null ? `${moment().toISOString()}` : `${moment().toISOString()}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The base branch was changed.
Please add screenshots. |
Screencast.2021-06-10.08.44.34.mp4 |
Fixes #2016
require fossasia/open-event-server#8021
Checklist
development
branch.