diff --git a/app/javascript/dashboard/components-next/message/useGallery.js b/app/javascript/dashboard/components-next/message/useGallery.js index 29c62d525..bb64e0030 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(() => { - // eslint-disable-next-line no-underscore-dangle - return !window.__WOOT_ISOLATED_SHELL__; + return true; + // return !window.__WOOT_ISOLATED_SHELL__; }); const toggleGallery = value => { diff --git a/app/javascript/entrypoints/ui.js b/app/javascript/entrypoints/ui.js index 5ea6745dc..69b03bf5b 100644 --- a/app/javascript/entrypoints/ui.js +++ b/app/javascript/entrypoints/ui.js @@ -6,6 +6,7 @@ import 'floating-vue/dist/style.css'; // import tailwindStyles from '../dashboard/assets/scss/_woot.scss?inline'; import VueDOMPurifyHTML from 'vue-dompurify-html'; +import WootUiKit from 'dashboard/components'; import { domPurifyConfig } from '../shared/helpers/HTMLSanitizer.js'; import store from '../dashboard/store'; @@ -39,6 +40,7 @@ export const init = async () => { app.use(store); app.use(i18n); + app.use(WootUiKit); app.use(VueDOMPurifyHTML, domPurifyConfig); // eslint-disable-next-line no-underscore-dangle vueActionCable.init(store, window.__PUBSUB_TOKEN__);