This commit is contained in:
Trey t
2025-11-05 18:02:34 -06:00
parent 194bac1a86
commit b2b8cc62de
4 changed files with 125 additions and 9 deletions

View File

@@ -12,6 +12,7 @@ struct ResidenceDetailView: View {
@State private var showEditResidence = false
@State private var showEditTask = false
@State private var selectedTaskForEdit: TaskDetail?
@State private var showCompletedTasks = false
@State private var showCancelledTasks = false
var body: some View {
@@ -37,6 +38,7 @@ struct ResidenceDetailView: View {
if let tasksResponse = tasksResponse {
TasksSection(
tasksResponse: tasksResponse,
showCompletedTasks: $showCompletedTasks,
showCancelledTasks: $showCancelledTasks,
onEditTask: { task in
selectedTaskForEdit = task