fix crash when updating an existing entry
code clean up
This commit is contained in:
@@ -79,6 +79,7 @@ extension PersistenceController {
|
||||
let items = PersistenceController.shared.getData(startDate: startDateOfMonth,
|
||||
endDate: startDateOfMonth.endOfMonth,
|
||||
includedDays: [1,2,3,4,5,6,7])
|
||||
|
||||
if !items.isEmpty {
|
||||
allMonths[month] = items
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user