Skip to content
Snippets Groups Projects
Commit fb002236 authored by Julia Friesel's avatar Julia Friesel
Browse files

Disable delete button when there is nothing to delete

parent 39d598f3
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,8 @@ export default function (navigateToOverView) {
action: () => {
saveSymptom(symptom, cycleDay)
navigateToOverView()
}
},
disabledCondition: !cycleDay[symptom]
}, {
title: 'Save',
action: () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment