Skip to content

Commit

Permalink
Merge pull request #51 from justinlengch/master
Browse files Browse the repository at this point in the history
Fix adding remark to a Student bug
  • Loading branch information
leepoeaik authored Mar 21, 2024
2 parents 0715030 + 0404965 commit 81bee33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ dependencies {
}

shadowJar {
archiveFileName = 'addressbook.jar'
archiveFileName = 'tutortrack.jar'
}

defaultTasks 'clean', 'test'
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public CommandResult execute(Model model) throws CommandException {
Person personToEdit = lastShownList.get(index.getZeroBased());
Person editedPerson = new Person(personToEdit.getName(), personToEdit.getPhone(), personToEdit.getEmail(),
personToEdit.getAddress(), personToEdit.getSubject(),
personToEdit.getRemark(), personToEdit.getLessons());
this.remark, personToEdit.getLessons());

model.setPerson(personToEdit, editedPerson);
model.updateFilteredPersonList(PREDICATE_SHOW_ALL_PERSONS);
Expand Down

0 comments on commit 81bee33

Please sign in to comment.