1
0
Fork 0
forked from mirror/pixelfed

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