File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/dashboard/Data/Config Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ export default class AddArrayEntryDialog extends React.Component {
85
85
}
86
86
87
87
render ( ) {
88
+ const param = this . props . param ;
88
89
const confirmDisabled =
89
90
this . state . value === '' ||
90
91
( this . state . showMismatchRow && ! this . state . mismatchConfirmed ) ;
@@ -93,7 +94,8 @@ export default class AddArrayEntryDialog extends React.Component {
93
94
< Modal
94
95
type = { Modal . Types . INFO }
95
96
icon = "plus-solid"
96
- title = "Add entry"
97
+ title = { 'Add entry' }
98
+ subtitle = { param }
97
99
confirmText = "Add Unique"
98
100
cancelText = "Cancel"
99
101
onCancel = { this . props . onCancel }
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ class Config extends TableView {
124
124
this . addArrayEntry ( this . state . addEntryParam , value )
125
125
}
126
126
lastType = { this . state . addEntryLastType }
127
+ param = { this . state . addEntryParam }
127
128
/>
128
129
) ;
129
130
}
@@ -575,7 +576,7 @@ class Config extends TableView {
575
576
) ;
576
577
}
577
578
578
- this . showNote ( ' Entry added' ) ;
579
+ this . showNote ( ` Entry added to ${ param } ` ) ;
579
580
} catch ( e ) {
580
581
this . showNote ( `Failed to add entry: ${ e . message } ` , true ) ;
581
582
} finally {
You can’t perform that action at this time.
0 commit comments