mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Fixes #1395
This commit is contained in:
parent
5565aa692f
commit
79e9337f94
1 changed files with 2 additions and 0 deletions
|
@ -791,10 +791,12 @@ export default {
|
||||||
'id[]': this.profileId
|
'id[]': this.profileId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
if(res.data.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