From b96b9fa6319e8fb1c83e9af4e5ec21f6cffbe053 Mon Sep 17 00:00:00 2001 From: ljupcovangelski Date: Wed, 20 Mar 2024 12:33:17 +0100 Subject: [PATCH] Add Slack-connector icon --- .../control-center/src/components/ChannelAvatar/index.tsx | 5 ++++- lib/typescript/assets/images/icons/slack.svg | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 lib/typescript/assets/images/icons/slack.svg diff --git a/frontend/control-center/src/components/ChannelAvatar/index.tsx b/frontend/control-center/src/components/ChannelAvatar/index.tsx index 7a981bb04..c37629cb9 100644 --- a/frontend/control-center/src/components/ChannelAvatar/index.tsx +++ b/frontend/control-center/src/components/ChannelAvatar/index.tsx @@ -26,6 +26,7 @@ import {ReactComponent as ChromaAvatar} from 'assets/images/icons/chroma.svg'; import {ReactComponent as MosaicAvatar} from 'assets/images/icons/mosaic.svg'; import {ReactComponent as WeaviateAvatar} from 'assets/images/icons/weaviate.svg'; import {ReactComponent as GmailAvatar} from 'assets/images/icons/gmail.svg'; +import {ReactComponent as SlackAvatar} from 'assets/images/icons/slack.svg'; import {Channel, Source} from 'model'; import styles from './index.module.scss'; @@ -132,7 +133,9 @@ export const getChannelAvatar = (source: string) => { case Source.gmail: case 'GMail connector': return ; - + case 'Slack connector': + return ; + default: return ; } diff --git a/lib/typescript/assets/images/icons/slack.svg b/lib/typescript/assets/images/icons/slack.svg new file mode 100644 index 000000000..fb55f7245 --- /dev/null +++ b/lib/typescript/assets/images/icons/slack.svg @@ -0,0 +1,6 @@ + + + + + +