|
|
@ -131,6 +131,9 @@
|
|
|
|
// this.fetchPosts();
|
|
|
|
// this.fetchPosts();
|
|
|
|
// this.isLoaded = true;
|
|
|
|
// this.isLoaded = true;
|
|
|
|
this.fetchRelationship();
|
|
|
|
this.fetchRelationship();
|
|
|
|
|
|
|
|
if(this.cachedProfile && this.cachedProfile.local) {
|
|
|
|
|
|
|
|
window.history.pushState({}, '', `/${this.cachedProfile.acct}`);
|
|
|
|
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.curUser = window._sharedData.user;
|
|
|
|
this.curUser = window._sharedData.user;
|
|
|
|
this.fetchProfile();
|
|
|
|
this.fetchProfile();
|
|
|
@ -164,6 +167,10 @@
|
|
|
|
this.owner = false;
|
|
|
|
this.owner = false;
|
|
|
|
this.fetchRelationship();
|
|
|
|
this.fetchRelationship();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(res.data && res.data.local) {
|
|
|
|
|
|
|
|
window.history.pushState({}, '', `/${res.data.acct}`);
|
|
|
|
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(err => {
|
|
|
|
.catch(err => {
|
|
|
|
this.$router.push('/i/web/404');
|
|
|
|
this.$router.push('/i/web/404');
|
|
|
|