From 3758a07a297bf161c57136e3a66138585f34cc7e Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 9 Dec 2025 17:01:02 +0530 Subject: [PATCH] feat: disable gallery for isolated shell --- .../dashboard/components-next/message/useGallery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/dashboard/components-next/message/useGallery.js b/app/javascript/dashboard/components-next/message/useGallery.js index bb64e0030..29c62d525 100644 --- a/app/javascript/dashboard/components-next/message/useGallery.js +++ b/app/javascript/dashboard/components-next/message/useGallery.js @@ -5,8 +5,8 @@ export function useGallery() { const [showGallery] = useToggle(false); const isGalleryAllowed = computed(() => { - return true; - // return !window.__WOOT_ISOLATED_SHELL__; + // eslint-disable-next-line no-underscore-dangle + return !window.__WOOT_ISOLATED_SHELL__; }); const toggleGallery = value => {