Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX ITEM-413-front-afficher-plusieurs-messages-en-meme-temps-sans-qui… #186

Conversation

EryneKL
Copy link
Contributor

@EryneKL EryneKL commented Dec 5, 2024

…ls-ne-soient-supperposes :

 - ajout d'une distinction dans les types d'erreurs
 - simplification du code

…ls-ne-soient-supperposes :

     - ajout d'une distinction dans les types d'erreurs
     - simplification du code
src/App.vue Outdated
@@ -131,20 +142,24 @@ function toggleDrawer() {
}

function addNotification(notificationId, message) {
errorsList.value.set(notificationId, message)
if (errorType === "ERR_NETWORK") {
if (isErrorNetwork === true) {
Copy link
Member

Choose a reason for hiding this comment

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

tu peux juste mettre "if (isErrorNetwork)" au lieu de "if (isErrorNetwork === true)" je trouve ca plus propre

…ls-ne-soient-supperposes :

     - simplification du code
@SamuelQuetin SamuelQuetin merged commit 42c2d90 into develop Dec 5, 2024
2 checks passed
@SamuelQuetin SamuelQuetin deleted the ITEM-413-front-afficher-plusieurs-messages-en-meme-temps-sans-quils-ne-soient-supperposes branch December 5, 2024 13:31
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