Skip to content

Conversation

ivangabriele
Copy link
Contributor

@ivangabriele ivangabriele commented Oct 26, 2023

Related Pull Requests & Issues

None


  • Tests E2E (Cypress)

@ivangabriele ivangabriele force-pushed the ivan/fix-period-filter-in-mission-list branch 2 times, most recently from bd44fe5 to c0ec84b Compare October 26, 2023 10:15
@ivangabriele ivangabriele force-pushed the ivan/fix-period-filter-in-mission-list branch from c0ec84b to d9d5c3c Compare October 26, 2023 10:16
throw new FrontendError('`selectedValues` should be an array.')
}

const nextSelectedValues = selectedValues.filter(selectedValue => selectedValue !== valueToDelete) as
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on a pas pris le parti de tout typer dans Env, vraiment que le métier (genre ici string[] | number[] n'est pas "nécessaire")

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je suis d'accord qu'il n'y pas besoin d'absolument tout typer mais là c'est pour éviter une erreur TS qui pense que c'est (string | number)[] sinon le check ne passe pas :X.

@ivangabriele ivangabriele merged commit 3c255ed into main Oct 26, 2023
@ivangabriele ivangabriele deleted the ivan/fix-period-filter-in-mission-list branch October 26, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants