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 {
8585 }
8686
8787 render ( ) {
88+ const param = this . props . param ;
8889 const confirmDisabled =
8990 this . state . value === '' ||
9091 ( this . state . showMismatchRow && ! this . state . mismatchConfirmed ) ;
@@ -93,7 +94,8 @@ export default class AddArrayEntryDialog extends React.Component {
9394 < Modal
9495 type = { Modal . Types . INFO }
9596 icon = "plus-solid"
96- title = "Add entry"
97+ title = { 'Add entry' }
98+ subtitle = { param }
9799 confirmText = "Add Unique"
98100 cancelText = "Cancel"
99101 onCancel = { this . props . onCancel }
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ class Config extends TableView {
124124 this . addArrayEntry ( this . state . addEntryParam , value )
125125 }
126126 lastType = { this . state . addEntryLastType }
127+ param = { this . state . addEntryParam }
127128 />
128129 ) ;
129130 }
@@ -575,7 +576,7 @@ class Config extends TableView {
575576 ) ;
576577 }
577578
578- this . showNote ( ' Entry added' ) ;
579+ this . showNote ( ` Entry added to ${ param } ` ) ;
579580 } catch ( e ) {
580581 this . showNote ( `Failed to add entry: ${ e . message } ` , true ) ;
581582 } finally {
You can’t perform that action at this time.
0 commit comments