|  | @@ -213,7 +213,7 @@ export default {
 | 
	
		
			
				|  |  |        this.loading = true
 | 
	
		
			
				|  |  |        this.majorsMap = null
 | 
	
		
			
				|  |  |        getElectiveGenerationDetails(params).then(res => {
 | 
	
		
			
				|  |  | -        this.total = res['total'] || 0
 | 
	
		
			
				|  |  | +        this.total = res['total'] || res.data?.total || 0
 | 
	
		
			
				|  |  |          this.detailWrapper = res.data
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          const studentIds = res.data.details?.map(d => d['studentId']).toString()
 |