diff --git a/public/js/profile.js b/public/js/profile.js index 369bc1781..c2fe2500e 100644 Binary files a/public/js/profile.js and b/public/js/profile.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 7fbdd6c8a..eac62c0f0 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ diff --git a/resources/assets/js/components/Profile.vue b/resources/assets/js/components/Profile.vue index f0e7f4bc0..95ebe907a 100644 --- a/resources/assets/js/components/Profile.vue +++ b/resources/assets/js/components/Profile.vue @@ -791,10 +791,12 @@ export default { 'id[]': this.profileId } }).then(res => { + if(res.data.length) { this.relationship = res.data[0]; if(res.data[0].blocking == true) { this.warning = true; } + } }); },