diff --git a/src/features/alerts/alertsSlice.ts b/src/features/alerts/alertsSlice.ts index 95e4681..e8d94a6 100644 --- a/src/features/alerts/alertsSlice.ts +++ b/src/features/alerts/alertsSlice.ts @@ -99,7 +99,7 @@ export function isISigmetAlert(alert: Alert): alert is ISigmetFeature { } export function isGAirmetAlert(alert: Alert): alert is GAirmetFeature { - return "data" in alert.properties && alert.properties.data === "GAIRMET"; + return "product" in alert.properties; } export function getAlertStart(alert: Alert) {