|
@@ -549,7 +549,7 @@ export default {
|
|
|
this.selections.forEach((item) => {
|
|
|
map.set(item.id, item);
|
|
|
});
|
|
|
- const sortedArray = this.$refs.studentList.excelFilter.map((id) => map.get(id.id)).filter((item) => item !== undefined)
|
|
|
+ const sortedArray = this.$refs.studentList.excelFilter.length ? this.$refs.studentList.excelFilter.map((id) => map.get(id.id)).filter((item) => item !== undefined) : this.selections
|
|
|
sortedArray.forEach(item => {
|
|
|
if (!ids.includes(item.id)) {
|
|
|
let irs = this.getDefIRS()
|