Skip to content

Commit 4cfc2b5

Browse files
fix: add RepositoryInvitation icon (#542)
Co-authored-by: Afonso Jorge Ramos <[email protected]>
1 parent 865cfcd commit 4cfc2b5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/typesGithub.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export type SubjectType =
1919
| 'Issue'
2020
| 'PullRequest'
2121
| 'Release'
22+
| 'RepositoryInvitation'
2223
| 'RepositoryVulnerabilityAlert';
2324

2425
export interface Notification {

src/utils/github-api.ts

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ export function getNotificationTypeIcon(
6969
return Octicons.GitPullRequestIcon;
7070
case 'Release':
7171
return Octicons.TagIcon;
72+
case 'RepositoryInvitation':
73+
return Octicons.MailIcon;
7274
case 'RepositoryVulnerabilityAlert':
7375
return Octicons.AlertIcon;
7476
default:

0 commit comments

Comments
 (0)