mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-31 20:00:00 -04:00
Add confirmation step to emergency alert settings
It feels quite dangerous that it’s just one click to make an emergency alerts service live. This commit adds a confirmation step which explains the consequences of what you’re about to do.
This commit is contained in:
@@ -2316,6 +2316,8 @@ class ServiceBroadcastAccountTypeField(GovukRadiosField):
|
||||
# (service_mode, broadcast_channel, allowed_broadcast_provider)
|
||||
# to a value to be used in our form such as "live-severe-ee"
|
||||
def process_data(self, value):
|
||||
if isinstance(value, str):
|
||||
return super().process_data(value)
|
||||
(live, broadcast_channel, allowed_broadcast_provider) = value
|
||||
account_type = None
|
||||
if broadcast_channel:
|
||||
|
||||
Reference in New Issue
Block a user