toast replace by modals, and product filters working
This commit is contained in:
@@ -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()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user