|  |  | @ -335,11 +335,19 @@ class CoursesNew extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  | 				//  this.props.history.push(this.props.current_user.first_category_url);
 |  |  |  | 				//  this.props.history.push(this.props.current_user.first_category_url);
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 			 // }
 |  |  |  | 			 // }
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         // window.history.go(-1)
 |  |  |  |         // window.history.go(-1)
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         try { | 
			
		
	
		
		
			
				
					
					|  |  |  |             if(id===undefined){ |  |  |  |             if(id===undefined){ | 
			
		
	
		
		
			
				
					
					|  |  |  | 				this.props.history.goBack() |  |  |  |                 this.props.history.push("/"); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }else{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 if(this.props.current_user.first_category_url===undefined){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     this.props.history.push("/"); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }else{ |  |  |  |                 }else{ | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.props.history.push(this.props.current_user.first_category_url); |  |  |  |                     this.props.history.push(this.props.current_user.first_category_url); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }catch (e) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.props.history.push("/"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |