Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update SlackConfigRow component to improve error notification display and styling

Victor Santos88e6c5badfd8
diff --git a/frontend/src/pages/secret-manager/SettingsPage/components/WorkflowIntegrationSection/components/SlackConfigRow.tsx b/frontend/src/pages/secret-manager/SettingsPage/components/WorkflowIntegrationSection/components/SlackConfigRow.tsx
index f4ba818230..afabe826cd 100644
--- a/frontend/src/pages/secret-manager/SettingsPage/components/WorkflowIntegrationSection/components/SlackConfigRow.tsx
+++ b/frontend/src/pages/secret-manager/SettingsPage/components/WorkflowIntegrationSection/components/SlackConfigRow.tsx
@@ -100,16 +100,19 @@ export const SlackConfigRow = ({ handlePopUpOpen, isSlackConfigLoading, slackCon
{slackConfig.isSecretSyncErrorNotificationEnabled &&
!isLoadingConfig &&
slackConfig.secretSyncErrorChannels.length > 0 ? (
- <Badge>
+ <p>
{slackConfig.secretSyncErrorChannels
.split(", ")
.map((channel) => slackChannelIdToName[channel])
.join(", ")}
- </Badge>
+ </p>
) : isLoadingConfig ? (
<Spinner size="xs" />
) : (
- <Badge variant="danger">Disabled</Badge>
+ <Badge variant="neutral">
+ <BanIcon />
+ Disabled
+ </Badge>
)}
</Td>
<Td>