Skip to content

Commit

Permalink
quick fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DaKingKong committed Jun 28, 2024
1 parent 717f5da commit 18378b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async function Initialize() {
await RenderQuickAccessButton();
}
// Case: C2D renders extra elements inside Bullhorn note section
if (!window.location.href.startsWith('https://app.bullhornstaffing.com/content')) {
if (!window.location.href.startsWith('https://app.bullhornstaffing.com/content/record/JobOrder')) {
await initializeC2D();
}
}
Expand Down
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: 10000 });
showNotification({ level: 'warning', message: 'Please go to Settings and connect to CRM platform', ttl: -1 });
}
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: 10000 });
showNotification({ level: 'warning', message: 'Please go to Settings and connect to CRM platform', ttl: -1 });
break;
}
switch (data.path) {
Expand Down

0 comments on commit 18378b5

Please sign in to comment.