Просмотр исходного кода

strip hashtag from slack channel (#4252)

d-g-town 2 лет назад
Родитель
Сommit
b9fc64f8cc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      dashboard/src/main/home/integrations/SlackIntegrationList.tsx

+ 1 - 1
dashboard/src/main/home/integrations/SlackIntegrationList.tsx

@@ -143,7 +143,7 @@ const SlackIntegration: React.FC<SlackIntegrationProps> = ({
             <Icon src={hash} height={"12px"} />
             <Spacer x={0.2} inline />
             <Text size={13} color="#eeeeeedd">
-              {inst.channel}
+              {inst.channel.replace("#", "")}
             </Text>
           </Container>
         </Tag>