<script > import { defineComponent } from "vue"; import { mapMutations, mapState } from "vuex"; import CategoriasContainer from "./CategoriasContainer.vue"; import ProductosContainer from "./ProductosContainer.vue"; import Chismosa from "./Chismosa.vue"; import DevolucionesModal from "./DevolucionesModal.vue"; export default defineComponent({ components: { DevolucionesModal, CategoriasContainer, ProductosContainer, Chismosa }, computed: { ...mapState('ui', ["show_chismosa", "show_devoluciones", "tags_interactuada"]) }, methods: { ...mapMutations("ui", ["toggleTags"]), }, mounted() { if (!this.tags_interactuada) this.toggleTags(false); } }) </script> <template> <div class="columns ml-3 mr-3" v-else> <categorias-container :class="show_chismosa ? 'hide-below-1024' : ''"/> <productos-container :class="show_chismosa ? 'hide-below-1024' : ''"/> <devoluciones-modal v-show="show_devoluciones"/> </div> </template> <style scoped> </style>