File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
src/web/Xrm.Oss.XTL.Editor/components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ export default class WYSIWYGEditor extends React.PureComponent<any, WYSIWYGEdito
172172
173173    setSelectedSdkStep ( eventKey : any )  { 
174174        const  selectedSdkStep  =  this . state . pluginType . plugintype_sdkmessageprocessingstep . value . find ( ( step : any )  =>  step . sdkmessageprocessingstepid  ===  eventKey ) ; 
175-         const  config  =  JSON . parse ( selectedSdkStep . configuration ) ; 
175+         const  config  =  JSON . parse ( selectedSdkStep . configuration )   ||   { } ; 
176176
177177        this . setState ( { 
178178            executionCriteria : config . executionCriteria  ||  "" , 
@@ -185,7 +185,7 @@ export default class WYSIWYGEditor extends React.PureComponent<any, WYSIWYGEdito
185185    saveSelectedSdkStep ( )  { 
186186        this . setState ( { requestPending : true } ) ; 
187187
188-         const  config  =  JSON . parse ( this . state . selectedSdkStep . configuration ) ; 
188+         const  config  =  JSON . parse ( this . state . selectedSdkStep . configuration )   ||   { } ; 
189189
190190        config . executionCriteria  =  this . state . executionCriteria ; 
191191        config . template  =  this . state . inputTemplate ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments