git.iko.soy/parseable-macos
on master help sign in
Fix AlertsView not reloading on server switch when stream name is unchanged
533ed27iko
ParseableViewer/Views/AlertsView.swift+1−1
@@ -63,7 +63,7 @@ struct AlertsView: View {
63 .frame(maxWidth: .infinity, maxHeight: .infinity)
63 .frame(maxWidth: .infinity, maxHeight: .infinity)
64 }
64 }
65 }
65 }
66− .task(id: stream) {
66+ .task(id: "\(appState.activeConnection?.id.uuidString ?? "")|\(stream)") {
67 await loadAlerts(stream: stream)
67 await loadAlerts(stream: stream)
68 }
68 }
69 } else {
69 } else {