Skip to content

Commit

Permalink
Merge pull request #220 from NIAEFEUP/fix/notifications-load
Browse files Browse the repository at this point in the history
Fix Notifications Load
  • Loading branch information
thePeras authored Nov 29, 2024
2 parents 67a19f6 + c80f71d commit d45dffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion background.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const sigarraRegex = /.*:\/\/sigarra\.up\.pt\/feup\/.*/;

// Add default values for each option here
Expand Down Expand Up @@ -63,6 +64,6 @@ chrome.runtime.onMessage.addListener(async (message, sender, sendResponse) => {
}
});

chrome.permissions.onRemoved.addListener((permissions) => {
chrome.permissions.onRemoved.addListener(() => {
//TODO:
});
1 change: 1 addition & 0 deletions content-scripts/components/Navbar/HeaderAuthentication.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const Authentication = ({ auth }: Props) => {
<Button
icon="ri-notification-line"
radius="full"
id="se-auth-notifications-button"
onclick={() => togglePopover("se-auth-notifications-menu")}
className={auth.hasNotifications ? "se-badge" : ""}
/>
Expand Down

0 comments on commit d45dffc

Please sign in to comment.