forked from mirror/pixelfed
Merge pull request #1425 from pixelfed/frontend-ui-refactor
Fixes #1395
This commit is contained in:
commit
780ef20738
3 changed files with 2 additions and 0 deletions
BIN
public/js/profile.js
vendored
BIN
public/js/profile.js
vendored
Binary file not shown.
Binary file not shown.
|
@ -791,10 +791,12 @@ export default {
|
|||
'id[]': this.profileId
|
||||
}
|
||||
}).then(res => {
|
||||
if(res.data.length) {
|
||||
this.relationship = res.data[0];
|
||||
if(res.data[0].blocking == true) {
|
||||
this.warning = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue