diff options
| author | Christian Cleberg <[email protected]> | 2026-03-18 20:07:59 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-03-18 20:07:59 -0500 |
| commit | 90da3a7aa2bf991904c1d7201250154ea84f1493 (patch) | |
| tree | 6bf5b8ecb267b051e865e615e121b9357b6f2966 /Hutch/Views/Tickets/TicketDetailView.swift | |
| parent | 090c829a5f800266da7f4ff0e59fb389f0dbfdd8 (diff) | |
| download | hutch-90da3a7aa2bf991904c1d7201250154ea84f1493.tar.gz hutch-90da3a7aa2bf991904c1d7201250154ea84f1493.tar.bz2 hutch-90da3a7aa2bf991904c1d7201250154ea84f1493.zip | |
Omit resolution when reopening resolved tickets
Diffstat (limited to 'Hutch/Views/Tickets/TicketDetailView.swift')
| -rw-r--r-- | Hutch/Views/Tickets/TicketDetailView.swift | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Hutch/Views/Tickets/TicketDetailView.swift b/Hutch/Views/Tickets/TicketDetailView.swift index 6b2be4f..f553bd8 100644 --- a/Hutch/Views/Tickets/TicketDetailView.swift +++ b/Hutch/Views/Tickets/TicketDetailView.swift @@ -71,10 +71,7 @@ struct TicketDetailView: View { if ticket.status == .resolved { Button { Task { - await viewModel.updateStatus( - status: .reported, - resolution: .unresolved - ) + await viewModel.updateStatus(status: .reported) } } label: { SwiftUI.Label("Reopen", systemImage: "arrow.uturn.backward") |
