1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #1425 from pixelfed/frontend-ui-refactor

Fixes #1395
This commit is contained in:
daniel 2019-06-18 21:26:47 -06:00 committed by GitHub
commit 780ef20738
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 0 deletions

BIN
public/js/profile.js vendored

Binary file not shown.

Binary file not shown.

View file

@ -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;
} }
}
}); });
}, },