toast replace by modals, and product filters working

This commit is contained in:
María
2025-08-28 13:53:06 +02:00
parent 49855b11fd
commit 71274defb2
5 changed files with 66 additions and 49 deletions

View File

@@ -133,12 +133,9 @@ export default {
async created() {
if (this.$route.params.action === 'created') {
this.$bvToast.toast(`Producto creado`, {
title: 'latienda.coop',
autoHideDelay: 5000,
appendToast: true,
variant: 'success',
})
this.modalText = 'Producto creado correctamente'
this.modalColor = 'success'
this.activeModal = true
}
await this.getDataFromApi()
},