mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 13:33:18 +00:00
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
|
'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