diff --git a/src/lib/components/chat/Messages/RateComment.svelte b/src/lib/components/chat/Messages/RateComment.svelte
index 8ecbe09c7..68fdf737d 100644
--- a/src/lib/components/chat/Messages/RateComment.svelte
+++ b/src/lib/components/chat/Messages/RateComment.svelte
@@ -2,6 +2,7 @@
import { toast } from 'svelte-sonner';
import { createEventDispatcher, onMount, getContext } from 'svelte';
+ import { config } from '$lib/stores';
const i18n = getContext('i18n');
@@ -69,7 +70,7 @@
@@ -97,7 +98,7 @@
{#each reasons as reason}
-
+
+ {#if $config?.features.enable_community_sharing}
+
+ {/if}
+