diff --git a/src/components/AdditionalContacts.vue b/src/components/AdditionalContacts.vue index 7297383..39f361a 100644 --- a/src/components/AdditionalContacts.vue +++ b/src/components/AdditionalContacts.vue @@ -156,7 +156,7 @@ export default { ] } }), - created () { + mounted () { let peoples = this.$store.state.data.contacts.peoples if (!Array.isArray(peoples)) { peoples = [] diff --git a/src/components/AvatarEditor.vue b/src/components/AvatarEditor.vue index b8bd8b2..446cff4 100644 --- a/src/components/AvatarEditor.vue +++ b/src/components/AvatarEditor.vue @@ -9,14 +9,15 @@ { + if (this.enabled) { + this.$refs.croppa.refresh() + } + }) }, clear: function () { this.plugin.remove() diff --git a/src/layouts/Delegate.vue b/src/layouts/Delegate.vue index 92ea7b7..c43dd93 100644 --- a/src/layouts/Delegate.vue +++ b/src/layouts/Delegate.vue @@ -29,6 +29,9 @@ + + Prévisualiser votre page + Ouvrir la page publique @@ -205,11 +208,24 @@ +