mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 16:30:45 +00:00
Update Profile.vue
This commit is contained in:
parent
6f72994a49
commit
0b13561ee8
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue