File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class RuntimeEnvironment(BaseModel):
42
42
compute_types : Optional [List [str ]]
43
43
default_compute_type : Optional [str ] # Should be a member of the compute_types list
44
44
utc_only : Optional [bool ]
45
- notifications_enabled : bool = False
45
+ notifications_enabled : bool = True
46
46
notification_events : List [Type [NotificationEvent ]] = [e for e in NotificationEvent ]
47
47
48
48
def __str__ (self ):
Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ export const NotificationDetails: React.FC<INotificationDetailsProps> = ({
46
46
{ notification . send_to . map ( ( email , idx ) => (
47
47
< NotificationItem
48
48
key = { idx }
49
- label = { trans . __ ( `Send To ${ idx } ` ) }
49
+ label = { trans . __ ( `Send To ${ idx + 1 } ` ) }
50
50
value = { email }
51
51
/>
52
52
) ) }
53
53
< FormLabel component = "legend" > { trans . __ ( 'Events' ) } </ FormLabel >
54
54
{ notification . events . map ( ( event , idx ) => (
55
55
< NotificationItem
56
56
key = { idx }
57
- label = { trans . __ ( `Event ${ idx } ` ) }
57
+ label = { trans . __ ( `Event ${ idx + 1 } ` ) }
58
58
value = { event }
59
59
/>
60
60
) ) }
You can’t perform that action at this time.
0 commit comments