Fix new eslint reported issues

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-06-17 10:46:55 +02:00
parent 5eadbbaae9
commit ed196d9b84
6 changed files with 8 additions and 8 deletions

View File

@@ -427,7 +427,7 @@ export default class MyEvents extends Vue {
}
monthParticipationsIds(elements: Eventable[]): string[] {
let res = elements.filter((element: Eventable) => {
const res = elements.filter((element: Eventable) => {
return "role" in element;
}) as IParticipant[];
return res.map(({ event }: { event: IEvent }) => {