Disable delete button when there is nothing to delete
This commit is contained in:
@@ -17,7 +17,8 @@ export default function (navigateToOverView) {
|
||||
action: () => {
|
||||
saveSymptom(symptom, cycleDay)
|
||||
navigateToOverView()
|
||||
}
|
||||
},
|
||||
disabledCondition: !cycleDay[symptom]
|
||||
}, {
|
||||
title: 'Save',
|
||||
action: () => {
|
||||
|
||||
Reference in New Issue
Block a user