Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit d96c26a

Browse files
Yelinzsliverc
authored andcommitted
Show correct attendance for selected day (#298)
Change variable in attendance controller, which was forgotten by #272.
1 parent 92ac267 commit d96c26a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/index/attendances/controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default Controller.extend({
4040
function() {
4141
return this.get('_allAttendances').filter(a => {
4242
return (
43-
a.get('date').isSame(this.get('date'), 'day') &&
43+
a.get('date').isSame(this.get('model'), 'day') &&
4444
a.get('user.id') === this.get('user.id') &&
4545
!a.get('isDeleted')
4646
)

0 commit comments

Comments
 (0)