forked from mirror/pixelfed
Update Profile.vue
This commit is contained in:
parent
6f72994a49
commit
0b13561ee8
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue