fix: Slack integration should not display if not configured in self hosted
fix: Alignment of Slack channels in settings closes #2553
This commit is contained in:
@@ -130,14 +130,16 @@ function SettingsSidebar() {
|
||||
/>
|
||||
)}
|
||||
</Section>
|
||||
{can.update && (
|
||||
{can.update && (env.SLACK_KEY || isHosted) && (
|
||||
<Section>
|
||||
<Header>{t("Integrations")}</Header>
|
||||
<SidebarLink
|
||||
to="/settings/integrations/slack"
|
||||
icon={<SlackIcon color="currentColor" />}
|
||||
label="Slack"
|
||||
/>
|
||||
{env.SLACK_KEY && (
|
||||
<SidebarLink
|
||||
to="/settings/integrations/slack"
|
||||
icon={<SlackIcon color="currentColor" />}
|
||||
label="Slack"
|
||||
/>
|
||||
)}
|
||||
{isHosted && (
|
||||
<SidebarLink
|
||||
to="/settings/integrations/zapier"
|
||||
|
||||
Reference in New Issue
Block a user