Skip to content

Commit

Permalink
Merge branch 'main' into fix-firefox-world
Browse files Browse the repository at this point in the history
  • Loading branch information
ERosendo authored Oct 15, 2024
2 parents 8dc807a + 95084d5 commit f743455
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Fixes:
- Refines the generateFileName method to accurately compute zip file names ([366](https://github.com/freelawproject/recap/issues/366), [399](https://github.com/freelawproject/recap-chrome/pull/399)).
- Improves the reliability of PACER case ID retrieval on attachment pages ([369](https://github.com/freelawproject/recap/issues/369), [400](https://github.com/freelawproject/recap-chrome/pull/400)).
- Fix setDefaultOptions in updateToolbarButton([403](https://github.com/freelawproject/recap-chrome/pull/403))
- Ensure we call sendResponse even when notifications are disabled([405](https://github.com/freelawproject/recap-chrome/pull/405))
- Use chrome.scripting.ExecutionWorld.MAIN for firefox compatibility ([404](https://github.com/freelawproject/recap-chrome/pull/404))


Expand Down
4 changes: 2 additions & 2 deletions src/utils/background_notifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export const handleBackgroundNotification = (req, sender, sendResponse) => {
break;
case 'showUpload':
chrome.storage.local.get('options', (items) => {
if (!items || !items.options.show_notifications) return;
showNotification(title, message);
if (items && items.options.show_notifications)
showNotification(title, message);
sendResponse({ status: 'success ' });
});
break;
Expand Down

0 comments on commit f743455

Please sign in to comment.