Skip to content

Commit

Permalink
[FIX] setGuestPhone to support empty/null/undefined (#143)
Browse files Browse the repository at this point in the history
* Fix setGuestPhone to support empty/null/undefined

* Update build files
  • Loading branch information
Shailesh351 authored May 16, 2022
1 parent 61ac46e commit 2839975
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 2 additions & 0 deletions build/63.chunk.2c21f.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/63.chunk.2c21f.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions build/63.chunk.3f9b6.js

This file was deleted.

1 change: 0 additions & 1 deletion build/63.chunk.3f9b6.js.map

This file was deleted.

4 changes: 2 additions & 2 deletions build/bundle.df02f.js → build/bundle.f5870.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/bundle.df02f.js.map → build/bundle.f5870.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html><head><meta charset="utf-8"><title></title><meta name="viewport" content="width=device-width,initial-scale=1"></head><body><script src="livechat/0.chunk.16385.js"></script><script src="livechat/polyfills.caf00.js"></script><script src="livechat/vendors~bundle.chunk.76887.js"></script><script src="livechat/bundle.df02f.js"></script></body></html>
<!doctype html><html><head><meta charset="utf-8"><title></title><meta name="viewport" content="width=device-width,initial-scale=1"></head><body><script src="livechat/0.chunk.16385.js"></script><script src="livechat/polyfills.caf00.js"></script><script src="livechat/vendors~bundle.chunk.76887.js"></script><script src="livechat/bundle.f5870.js"></script></body></html>
2 changes: 1 addition & 1 deletion src/lib/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const api = {
},

setGuestPhone(phone) {
updateIframeGuestData({ phone });
updateIframeGuestData({ phone: phone ?? '' });
},

setGuestEmail(email) {
Expand Down

0 comments on commit 2839975

Please sign in to comment.