File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/dashboard/Data/Config Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ class Config extends TableView {
5858 }
5959
6060 renderExtras ( ) {
61- const { currentApp = { } } = this . context ;
6261 let extras = null ;
6362 if ( this . state . modalOpen ) {
6463 extras = (
@@ -69,7 +68,7 @@ class Config extends TableView {
6968 type = { this . state . modalType }
7069 value = { this . state . modalValue }
7170 masterKeyOnly = { this . state . modalMasterKeyOnly }
72- parseServerVersion = { currentApp . serverInfo && currentApp . serverInfo . parseServerVersion } />
71+ parseServerVersion = { this . context . serverInfo ? .parseServerVersion } />
7372 ) ;
7473 } else if ( this . state . showDeleteParameterDialog ) {
7574 extras = (
@@ -129,7 +128,7 @@ class Config extends TableView {
129128 }
130129 openModal ( )
131130 }
132-
131+
133132 let openDeleteParameterDialog = ( ) => this . setState ( {
134133 showDeleteParameterDialog : true ,
135134 modalParam : data . param
You can’t perform that action at this time.
0 commit comments