diff --git a/resources/js/Pages/Users/Edit.vue b/resources/js/Pages/Users/Edit.vue index d2c3fea..9e385f6 100644 --- a/resources/js/Pages/Users/Edit.vue +++ b/resources/js/Pages/Users/Edit.vue @@ -88,7 +88,7 @@ export default { onStart: () => this.sending = true, onFinish: () => this.sending = false, onSuccess: () => { - if (Object.keys(this.$page.errors).length === 0) { + if (Object.keys(this.$page.props.errors).length === 0) { this.form.photo = null this.form.password = null } diff --git a/resources/js/Shared/FlashMessages.vue b/resources/js/Shared/FlashMessages.vue index bcb2214..642dfb0 100644 --- a/resources/js/Shared/FlashMessages.vue +++ b/resources/js/Shared/FlashMessages.vue @@ -1,21 +1,21 @@