Update Profile.vue

This commit is contained in:
Daniel Supernault 2019-04-17 23:58:47 -06:00
parent 6f72994a49
commit 0b13561ee8
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -732,10 +732,12 @@ export default {
'id[]': this.profileId 'id[]': this.profileId
} }
}).then(res => { }).then(res => {
if(res.length) {
this.relationship = res.data[0]; this.relationship = res.data[0];
if(res.data[0].blocking == true) { if(res.data[0].blocking == true) {
this.warning = true; this.warning = true;
} }
}
}); });
}, },