fixed issue when adding multiple missing entries

This commit is contained in:
Trey t
2022-02-17 17:50:17 -06:00
parent 2130b621d1
commit 7b828cc93c
3 changed files with 7 additions and 2 deletions

View File

@@ -91,7 +91,8 @@ struct ContentView: View {
}
if let selectedEntry = selectedEntry,
deleteEnabled{
deleteEnabled,
selectedEntry.mood != .missing {
Button(String(localized: "content_view_delete_entry"), action: {
viewModel.update(entry: selectedEntry, toMood: Mood.missing)
showUpdateEntryAlert = false