diff --git a/src/content.js b/src/content.js index 0b919c7..1d979a7 100644 --- a/src/content.js +++ b/src/content.js @@ -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(); } } diff --git a/src/popup.js b/src/popup.js index e15c795..10ef751 100644 --- a/src/popup.js +++ b/src/popup.js @@ -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; @@ -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) {