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; };