Update navbar, add avatar
This commit is contained in:
parent
88fc867c07
commit
19abf1b4dc
15 changed files with 46 additions and 1 deletions
|
@ -705,6 +705,8 @@
|
|||
if(document.querySelectorAll('body')[0].classList.contains('loggedIn') == true) {
|
||||
axios.get('/api/pixelfed/v1/accounts/verify_credentials').then(res => {
|
||||
this.user = res.data;
|
||||
window._sharedData.curUser = res.data;
|
||||
window.App.util.navatar();
|
||||
if(res.data.id == this.profileId || this.relationship.following == true) {
|
||||
axios.get('/api/stories/v0/exists/' + this.profileId)
|
||||
.then(res => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue