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