Skip to content

Commit

Permalink
FIX ITEM-413-front-afficher-plusieurs-messages-en-meme-temps-sans-qui…
Browse files Browse the repository at this point in the history
…ls-ne-soient-supperposes :

     - simplification du code
  • Loading branch information
EryneKL committed Dec 5, 2024
1 parent e1de0a4 commit 998b6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function toggleDrawer() {
}
function addNotification(notificationId, message) {
if (isErrorNetwork === true) {
if (isErrorNetwork) {
errorsNetworkList.value.set(notificationId, message)
setTimeout(() => removeNotification(notificationId), 9000) // impose un timeout au v-alert pour que les alertes de type ERR_NETWORK ne surchargent pas la Map errorsList
isErrorNetwork = false;
Expand Down

0 comments on commit 998b6ef

Please sign in to comment.