File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
secrets/RegisterSecret/Register
stackComponents/ConfigureComponent/CreateComponent Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ export const Register: React.FC<Props> = (state: any) => {
191191 updatedRouteState . state . inputData [
192192 state . state . secretKey
193193 ] = `{{ ${ secretName } .${ inputFields [ 0 ] . key } }}` ;
194-
194+ updatedRouteState . state . secretId = id ;
195195 history . push ( state . state . pathName , updatedRouteState ) ;
196196 } else if ( state ?. state ?. routeFromEditComponent ) {
197197 const updatedRouteState = {
@@ -201,6 +201,7 @@ export const Register: React.FC<Props> = (state: any) => {
201201 state . state . secretKey
202202 ] = `{{ ${ secretName } .${ inputFields [ 0 ] . key } }}` ;
203203
204+ updatedRouteState . state . secretId = id ;
204205 history . push ( state . state . pathName , updatedRouteState ) ;
205206 } else {
206207 history . push ( routePaths . secret . configuration ( id , selectedWorkspace ) ) ;
Original file line number Diff line number Diff line change @@ -507,6 +507,8 @@ export const CreateComponent: React.FC<{ flavor: any; state: any }> = ({
507507 ) ;
508508 } else {
509509 const state = {
510+ secretId : secretId ,
511+ secretIdArray : secretIdArray ,
510512 flavor : flavor . name ,
511513 routeFromComponent : true ,
512514 componentName : componentName ,
You can’t perform that action at this time.
0 commit comments