Skip to content

Commit

Permalink
Merge pull request #73 from cathrkri/72-fix-view-details-button-on-fr…
Browse files Browse the repository at this point in the history
…ontpage

Updated CharityPageController
  • Loading branch information
roaraf authored Apr 16, 2026
2 parents ab8e937 + 94342f0 commit 7557e30
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ public void switchToDonationPage(ActionEvent event) {
LoaderScene.LoadScene("donationPage", event, charity, null);
}

@FXML
public void switchToFrontPage(ActionEvent event) {
System.out.println("Click");
LoaderScene.LoadScene("FrontPage", event, charity, null);
}

/**
* This method is used to search for charities based on the input in the search field.
*
Expand Down

0 comments on commit 7557e30

Please sign in to comment.