From 44d363f43757272f36c9578768f7ae2e464eed2f Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 15 Dec 2025 14:39:45 +0530 Subject: [PATCH] feat: always allow gallery --- .../dashboard/components-next/message/useGallery.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/javascript/dashboard/components-next/message/useGallery.js b/app/javascript/dashboard/components-next/message/useGallery.js index 29c62d525..7f8354240 100644 --- a/app/javascript/dashboard/components-next/message/useGallery.js +++ b/app/javascript/dashboard/components-next/message/useGallery.js @@ -5,13 +5,10 @@ export function useGallery() { const [showGallery] = useToggle(false); const isGalleryAllowed = computed(() => { - // eslint-disable-next-line no-underscore-dangle - return !window.__WOOT_ISOLATED_SHELL__; + return true; }); const toggleGallery = value => { - if (!isGalleryAllowed.value) return; - showGallery.value = value; };