Skip to content

Commit

Permalink
[ui] Add PagerDuty icon (#20749)
Browse files Browse the repository at this point in the history
As the title. Used to support
dagster-io/internal#8953
  • Loading branch information
clairelin135 authored and PedramNavid committed Mar 28, 2024
1 parent 76595a1 commit 02ee1f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ import no_access from '../icon-svgs/no_access.svg';
import notifications from '../icon-svgs/notifications.svg';
import observation from '../icon-svgs/observation.svg';
import open_in_new from '../icon-svgs/open_in_new.svg';
import pagerduty from '../icon-svgs/pagerduty.svg';
import panel_hide_right from '../icon-svgs/panel_hide_right.svg';
import panel_show_both from '../icon-svgs/panel_show_both.svg';
import panel_show_bottom from '../icon-svgs/panel_show_bottom.svg';
Expand Down Expand Up @@ -242,6 +243,7 @@ export const Icons = {
tag,
slack,
ms_teams,
pagerduty,
github,
github_pr_open,
github_pr_closed,
Expand Down Expand Up @@ -373,7 +375,11 @@ export const Icons = {
zoom_out,
} as const;

const SVGS_WITH_COLORS = new Set([(slack as any).src, (ms_teams as any).src]);
const SVGS_WITH_COLORS = new Set([
(slack as any).src,
(ms_teams as any).src,
(pagerduty as any).src,
]);

export type IconName = keyof typeof Icons;

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 02ee1f3

Please sign in to comment.