Skip to content

Commit

Permalink
Fix G-AIRMETs (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding committed Jun 3, 2024
1 parent 5bd952d commit 680c425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/alerts/alertsSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 680c425

Please sign in to comment.