Fix Resolve button flow

Investigate and address why the Resolve action isn’t triggering despite superuser role. Add diagnostic logging and ensure the resolve mutation is invoked with correct data, plus prep for validating frontend event wiring and mutation calls.
This commit is contained in:
gpt-engineer-app[bot]
2025-11-11 13:43:21 +00:00
parent 2093560f64
commit 9cabd20e43
2 changed files with 6 additions and 0 deletions

View File

@@ -37,6 +37,11 @@ export function GroupedAlertsPanel({ alerts, isLoading }: GroupedAlertsPanelProp
});
const handleResolveGroup = (alert: GroupedAlert) => {
console.log('🔴 Resolve button clicked', {
alertIds: alert.alert_ids,
source: alert.source,
alert,
});
resolveGroup.mutate({
alertIds: alert.alert_ids,
source: alert.source,