fixed modal show and hide with right name

This commit is contained in:
Bachir Soussi Chiadmi 2021-01-20 12:42:21 +01:00
parent 7f7cbb9c7e
commit 9e99c4c688
4 changed files with 8 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -127,6 +127,7 @@ export default {
ModalCard,
{ item: this.item },
{
name: `modal-${this.item.id}`,
draggable: true,
width: '850px',
height: '610px'

View File

@ -65,7 +65,8 @@ export default {
ModalCard,
{ item: this.item },
{
draggable: true,
name: `modal-${this.item.id}`,
draggable: false,
width: '850px',
height: '610px'
}

View File

@ -177,7 +177,8 @@ export default {
}
},
onCloseModalCard (e) {
this.$modal.hideAll()
// this.$modal.hideAll()
this.$modal.hide(`modal-${this.item.id}`)
}
}
}