1
0
Fork 0

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
1 changed files with 5 additions and 3 deletions

View File

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