fixes: Contact search is skipping the '+' sign for email. (#4142)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sivin Varghese 2022-03-10 11:15:41 +05:30 committed by GitHub
parent fb03b6f434
commit b3545f42f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,7 +253,7 @@ export default {
this.$store.dispatch('contacts/get', requestParams); this.$store.dispatch('contacts/get', requestParams);
} else { } else {
this.$store.dispatch('contacts/search', { this.$store.dispatch('contacts/search', {
search: value, search: encodeURIComponent(value),
...requestParams, ...requestParams,
}); });
} }