File tree Expand file tree Collapse file tree 5 files changed +5
-1
lines changed
admin/components/scenarios/scenario/notification_rule Expand file tree Collapse file tree 5 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ const NotificationRuleForm: FunctionComponent<Props> = ({
96
96
onClick = { edition ? handleOpenDelete : handleClose }
97
97
style = { { marginRight : theme . spacing ( 1 ) } }
98
98
disabled = { isSubmitting }
99
+ color = { edition ? 'error' : 'primary' }
99
100
>
100
101
{ edition ? t ( 'Delete' ) : t ( 'Cancel' ) }
101
102
</ Button >
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ const ScenarioNotificationRulesDrawer: FunctionComponent<Props> = ({
86
86
< Drawer
87
87
open = { open }
88
88
handleClose = { ( ) => setOpen ( false ) }
89
- title = { t ( 'Create a notification rule' ) }
89
+ title = { editing ? t ( 'Update a notification rule' ) : t ( 'Create a notification rule' ) }
90
90
>
91
91
{
92
92
editing
Original file line number Diff line number Diff line change 1575
1575
"UNVERIFIED" : " Unverified" ,
1576
1576
"Unverified" : " Unverified" ,
1577
1577
"Update" : " Update" ,
1578
+ "Update a notification rule" : " Update a notification rule" ,
1578
1579
"Update an endpoint" : " Update an endpoint" ,
1579
1580
"Update inject comment" : " Update inject comment" ,
1580
1581
"Update objects" : " Update objects" ,
Original file line number Diff line number Diff line change 1575
1575
"UNVERIFIED" : " Unverified" ,
1576
1576
"Unverified" : " Non vérifié" ,
1577
1577
"Update" : " Modifier" ,
1578
+ "Update a notification rule" : " Mise à jour d'une règle de notification" ,
1578
1579
"Update an endpoint" : " Mise à jour d'un endpoint" ,
1579
1580
"Update inject comment" : " Modifier le commentaire du stimuli" ,
1580
1581
"Update objects" : " Mettre à jour les objets" ,
Original file line number Diff line number Diff line change 1575
1575
"UNVERIFIED" : " 未验证" ,
1576
1576
"Unverified" : " 未驗證" ,
1577
1577
"Update" : " 更新" ,
1578
+ "Update a notification rule" : " 更新通知规则" ,
1578
1579
"Update an endpoint" : " 更新端点" ,
1579
1580
"Update inject comment" : " 编辑刺激评论" ,
1580
1581
"Update objects" : " 更新对象" ,
You can’t perform that action at this time.
0 commit comments