diff --git a/src/lib/components/workspace/Prompts/PromptMenu.svelte b/src/lib/components/workspace/Prompts/PromptMenu.svelte
index cb693f227..b41d8e195 100644
--- a/src/lib/components/workspace/Prompts/PromptMenu.svelte
+++ b/src/lib/components/workspace/Prompts/PromptMenu.svelte
@@ -2,6 +2,7 @@
import { DropdownMenu } from 'bits-ui';
import { flyAndScale } from '$lib/utils/transitions';
import { getContext } from 'svelte';
+ import { config } from '$lib/stores';
import Dropdown from '$lib/components/common/Dropdown.svelte';
import GarbageBin from '$lib/components/icons/GarbageBin.svelte';
@@ -44,15 +45,17 @@
align="start"
transition={flyAndScale}
>
- {
- shareHandler();
- }}
- >
-
- {$i18n.t('Share')}
-
+ {#if $config.features.enable_community_sharing}
+ {
+ shareHandler();
+ }}
+ >
+
+ {$i18n.t('Share')}
+
+ {/if}
{$i18n.t('Edit')}
- {
- shareHandler();
- }}
- >
-
- {$i18n.t('Share')}
-
+ {#if $config.features.enable_community_sharing}
+ {
+ shareHandler();
+ }}
+ >
+
+ {$i18n.t('Share')}
+
+ {/if}