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 => {