Skip to content

Commit

Permalink
quick fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DaKingKong committed Jul 5, 2024
1 parent c131db1 commit fe7a0f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/LibPhoneNumberMatcher.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ window.addEventListener('message', async (e) => {
);
}
else if (!rcUnifiedCrmExtJwt) {
showNotification({ level: 'warning', message: 'Please go to Settings and connect to CRM platform', ttl: -1 });
showNotification({ level: 'warning', message: 'Please go to Settings and connect to CRM platform', ttl: 60000 });
}
try {
const extId = JSON.parse(localStorage.getItem('sdk-rc-widgetplatform')).owner_id;
Expand Down Expand Up @@ -362,7 +362,7 @@ window.addEventListener('message', async (e) => {
break;
case 'rc-post-message-request':
if (!crmAuthed && (data.path === '/callLogger' || data.path === '/messageLogger')) {
showNotification({ level: 'warning', message: 'Please go to Settings and connect to CRM platform', ttl: -1 });
showNotification({ level: 'warning', message: 'Please go to Settings and connect to CRM platform', ttl: 60000 });
break;
}
switch (data.path) {
Expand Down

0 comments on commit fe7a0f9

Please sign in to comment.