feat: always allow gallery
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user