Fixed wedstrijdteam issue
All checks were successful
Build and Deploy / Deploy (push) Successful in 2m37s
All checks were successful
Build and Deploy / Deploy (push) Successful in 2m37s
This commit is contained in:
parent
fd2e576ece
commit
224ad78f0f
@ -176,7 +176,11 @@ const csvToJson = (csv) => {
|
|||||||
|
|
||||||
if (groups[2] === 'Week') groups[2] = 'Vrijdag'
|
if (groups[2] === 'Week') groups[2] = 'Vrijdag'
|
||||||
|
|
||||||
newLedenlijst.value.push({ relatiecode: result[i].Relatiecode, fullName: result[i]['Volledige naam (1)'], email: [result[i]['E-mail'], result[i]['2e E-mail']], groups: [...new Set(groups)], diploma: result[i]['Diploma dropdown 1'] })
|
const inwedstrijdteam = usersStore.ledenlijst.filter(x => x.relatiecode === result[i].Relatiecode)[0].wedstrijdteam;
|
||||||
|
|
||||||
|
const wedstrijdteam = inwedstrijdteam ? true : false
|
||||||
|
|
||||||
|
newLedenlijst.value.push({ relatiecode: result[i].Relatiecode, wedstrijdteam, fullName: result[i]['Volledige naam (1)'], email: [result[i]['E-mail'], result[i]['2e E-mail']], groups: [...new Set(groups)], diploma: result[i]['Diploma dropdown 1'] })
|
||||||
}
|
}
|
||||||
uploadLedenlijst()
|
uploadLedenlijst()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user