Skip to content

Commit

Permalink
fix wrong project selected when editing an existing time entry
Browse files Browse the repository at this point in the history
  • Loading branch information
vijay-prema committed Mar 9, 2024
1 parent 8c03d81 commit f890574
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/js/detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ function renderItem(item){
$('#customerSelect').change(function(){
renderUpdateProjectViaCustomer();
});

$('#projectSelect').val(item.project);

renderUpdateActivitiesViaProject();
$('#customerSelect, #projectSelect').change(function(){
Expand Down

0 comments on commit f890574

Please sign in to comment.