feat: always allow gallery

This commit is contained in:
Shivam Mishra
2025-12-15 14:39:45 +05:30
parent 391b139652
commit 44d363f437
@@ -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;
};