Hide 'Self hosted' settings on cloud

This commit is contained in:
Tom Moor
2023-07-20 21:33:08 -04:00
parent 5810ddb589
commit 9046abb682

View File

@@ -156,7 +156,7 @@ const useSettingsConfig = () => {
name: t("Self Hosted"),
path: integrationSettingsPath("self-hosted"),
component: SelfHosted,
enabled: can.update,
enabled: can.update && !isCloudHosted,
group: t("Integrations"),
icon: BuildingBlocksIcon,
},