Skip to content

Commit

Permalink
(bug) unable to change training reservation slot to another slot
Browse files Browse the repository at this point in the history
  • Loading branch information
gnepud committed Jul 19, 2024
1 parent 9d502b5 commit cb6d470
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Next release

- Fix a bug: unable to change training reservation slot to another slot

## v6.3.29 2024 July 19

- updates chinese translations and adds translations
Expand Down
2 changes: 1 addition & 1 deletion app/frontend/src/javascript/controllers/trainings.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ Application.Controllers.controller('ReserveTrainingController', ['$scope', '$tra
*/
const refreshCalendar = function () {
$scope.eventSources.splice(0, 1, {
url: `/api/availabilities/trainings/${$transition$.params().id}`,
url: `/api/availabilities/trainings/${$transition$.params().id}?member_id=${$scope.ctrl.member.id}`,
textColor: 'black'
});
}
Expand Down

0 comments on commit cb6d470

Please sign in to comment.