fix meal list delete and copy, and allow editing of name #93
Labels
No labels
bug
documentation
duplicate
enhancement
feature idea
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
davenh99/progressa#93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
delete and copy weren't working because they were adding to the wrong session id, and probably deleting from as well.
in this func, need to set the session after extracting meal data, cos it would get id from old record.
the deleting is due to the order, session is set before extracting id, need to await the delete first, or grab the id before removing the row: