From 1b31b8b93cee9d7796b65d04ba4f3bc033909ca5 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 17 Jun 2025 13:22:59 +0530 Subject: [PATCH] fix: spacing --- app/javascript/ui/MessageList.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/javascript/ui/MessageList.vue b/app/javascript/ui/MessageList.vue index 061cc13dd..90d12fd74 100644 --- a/app/javascript/ui/MessageList.vue +++ b/app/javascript/ui/MessageList.vue @@ -53,6 +53,11 @@ const allMessages = computed(() => { return useCamelCase(conversation.value.messages, { deep: true }).reverse(); }); +const disablePrivateNote = computed(() => { + // eslint-disable-next-line no-underscore-dangle + return window.__EDITOR_DISABLE_PRIVATE_NOTE__ === true; +}); + const fetchMore = async () => { if (isFetching.value) return; if (!conversation?.value?.id) return; @@ -99,7 +104,11 @@ useInfiniteScroll(messageListRef, useThrottleFn(fetchMore, 1000), {