mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
Restrict the activities that we display on the alerts page's filters to just ones that can actually be in alerts #147
This commit is contained in:
@@ -43,3 +43,7 @@ class Activity:
|
||||
# Emoji flag for the country or region where this activity is relevant, if any. If None, this implies the
|
||||
# activity is in worldwide usage.
|
||||
region_flag: str | None = None
|
||||
# Can alerts ever have this activity? A lot of activities can be figured out from spot comments but can never
|
||||
# occur in alerts, so to avoid showing all activities on the "upcoming" page, we allow it to filter based on
|
||||
# this.
|
||||
alerts_possible: bool = False
|
||||
|
||||
Reference in New Issue
Block a user