Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: hide page path tooltip (#2800)

Bogdan Chadkinb9df0362022e
diff --git a/apps/builder/app/builder/features/sidebar-left/panels/pages/page-settings.tsx b/apps/builder/app/builder/features/sidebar-left/panels/pages/page-settings.tsx
index 4514e33687..1a8bdcea7b 100644
--- a/apps/builder/app/builder/features/sidebar-left/panels/pages/page-settings.tsx
+++ b/apps/builder/app/builder/features/sidebar-left/panels/pages/page-settings.tsx
@@ -417,17 +417,19 @@ const FormFields = ({
<Label htmlFor={fieldIds.path}>
<Flex align="center" css={{ gap: theme.spacing[3] }}>
Path
- <Tooltip
- content={
- "The path can include dynamic parameters like :name, which could be made optional using :name?, or have a wildcard such as /* or /:name* to store whole remaining part at the end of the URL."
- }
- variant="wrapped"
- >
- <HelpIcon
- color={rawTheme.colors.foregroundSubtle}
- tabIndex={0}
- />
- </Tooltip>
+ {isFeatureEnabled("cms") && (
+ <Tooltip
+ content={
+ "The path can include dynamic parameters like :name, which could be made optional using :name?, or have a wildcard such as /* or /:name* to store whole remaining part at the end of the URL."
+ }
+ variant="wrapped"
+ >
+ <HelpIcon
+ color={rawTheme.colors.foregroundSubtle}
+ tabIndex={0}
+ />
+ </Tooltip>
+ )}
</Flex>
</Label>
<InputErrorsTooltip errors={errors.path}>