Disable delete button when there is nothing to delete

This commit is contained in:
Julia Friesel
2018-08-18 18:06:10 +02:00
parent 39d598f3aa
commit fb00223648
+2 -1
View File
@@ -17,7 +17,8 @@ export default function (navigateToOverView) {
action: () => {
saveSymptom(symptom, cycleDay)
navigateToOverView()
}
},
disabledCondition: !cycleDay[symptom]
}, {
title: 'Save',
action: () => {