#272 fix:search spins forever in case of error (#302)

This commit is contained in:
lenhanphung
2025-11-14 19:28:05 +07:00
committed by GitHub
parent 1bc9b0c160
commit e8374cc2a1
5 changed files with 278 additions and 122 deletions
+4 -1
View File
@@ -154,7 +154,10 @@
"peopleSearch": {
"label": "Start typing a name or email",
"placeholder": "Start typing a name or email",
"invalidEmail": "%{email} is not a valid email address"
"invalidEmail": "%{email} is not a valid email address",
"searchError": "Unable to fetch contacts right now. Please try again.",
"noResults": "No results",
"loading": "Loading..."
},
"error": {
"title": "Something went wrong",
+4 -1
View File
@@ -154,7 +154,10 @@
"peopleSearch": {
"label": "Commencez à saisir un nom ou un e-mail",
"placeholder": "Commencez à saisir un nom ou un e-mail",
"invalidEmail": "%{email} n'est pas une adresse e-mail valide"
"invalidEmail": "%{email} n'est pas une adresse e-mail valide",
"searchError": "Impossible de récupérer les contacts pour le moment. Veuillez réessayer.",
"noResults": "Aucun résultat",
"loading": "Chargement..."
},
"error": {
"title": "Une erreur s'est produite",