Skip to content

Commit

Permalink
Add ticket export notification
Browse files Browse the repository at this point in the history
  • Loading branch information
ericnewcomer committed Jan 18, 2024
1 parent 3a15fdd commit c4a0914
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/list/NotificationList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ export class NotificationList extends TembaList {
} else if (notification.export.type === 'results') {
icon = Icon.results_export;
body = 'Exported flow results';
} else if (notification.export.type === 'ticket') {
icon = Icon.tickets_export;
body = 'Exported tickets';

Check warning on line 100 in src/list/NotificationList.ts

View check run for this annotation

Codecov / codecov/patch

src/list/NotificationList.ts#L98-L100

Added lines #L98 - L100 were not covered by tests
}
} else if (notification.type === 'tickets:activity') {
icon = Icon.tickets;
Expand Down
1 change: 1 addition & 0 deletions src/vectoricon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export enum Icon {
tickets_closed = 'check',
tickets_mine = 'coffee',
tickets_open = 'inbox-01',
tickets_export = 'download-cloud-01',
tickets_unassigned = 'inbox-01',
topic = 'message-text-circle-02',
two_factor_enabled = 'shield-02',
Expand Down

0 comments on commit c4a0914

Please sign in to comment.