added IngredientControllerTest + fix comments
This commit is contained in:
parent
f7a1deb9b1
commit
9603742220
2 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ public class IngredientController {
|
|||
private final RestTemplate restTemplate = new RestTemplate(); // Simplified REST client
|
||||
|
||||
@FXML
|
||||
void handleDeleteIngredient(ActionEvent event) {
|
||||
public void handleDeleteIngredient(ActionEvent event) {
|
||||
// Get selected ingredient
|
||||
Ingredient selectedIngredient = ingredientListView.getSelectionModel().getSelectedItem();
|
||||
if (selectedIngredient == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue