warning member

This commit is contained in:
2021-06-08 21:20:59 +02:00
parent c22383e99c
commit 8f8467ae97
14 changed files with 136 additions and 9 deletions

View File

@@ -95,13 +95,15 @@
import { mapState, mapActions } from 'vuex'
import cardMixins from 'vuejs/components/cardMixins'
import ModalCard from 'vuejs/components/Content/ModalCard'
import MemberWarning from 'vuejs/components/Content/MemberWarning'
export default {
name: "Card",
props: ['item'],
mixins: [cardMixins],
components: {
ModalCard
ModalCard,
MemberWarning
},
data() {
return {
@@ -215,6 +217,22 @@ export default {
height: '95%'
}
)
} else {
this.$modal.show(
MemberWarning,
{},
{
// name: `modal-${this.item.id}`,
draggable: false,
// classes: "vm--modale-card",
// this does not work
// adaptative: true,
// maxWidth: 850,
// maxHeight: 610,
width: '400px',
height: '250px'
}
)
}
}
}