Commit 63725a60 authored by Janita Lillevik Røyseth's avatar Janita Lillevik Røyseth
Browse files

Fixed typo in CarePlanController

parent a1997b33
......@@ -395,7 +395,7 @@ public class CarePlanController {
private void goBack() {
Parent root = null;
try {
FXMLLoader loader = new FXMLLoader(getClass().getResource("Patientpage.fxml"));
FXMLLoader loader = new FXMLLoader(getClass().getResource("PatientPage.fxml"));
root = loader.load();
PatientPageController controller = loader.getController();
controller.setUserLabel(getUserLabel());
......@@ -807,9 +807,7 @@ public class CarePlanController {
careplan = patient.findCareplanByTypeOfCare("Personlig hygiene");
} else if(tabSelected.equals(this.careplanTabPane.getTabs().get(2))) {
careplan = patient.findCareplanByTypeOfCare("Sosial og aktivitet");
} /*else if (tabSelected.equals(this.careplanTabPane.getTabs().get(3))) {
careplan = patient.findCareplanByTypeOfCare("Legemidler");
}*/
}
TaskDetailsDialog taskDetailsDialog = new TaskDetailsDialog();
Optional<TodoTask> result = taskDetailsDialog.showAndWait();
if (result.isPresent()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment