Update Profile component

This commit is contained in:
Daniel Supernault 2019-02-24 22:12:53 -07:00
parent 2aeb3ce27b
commit 47fdf0f0b7
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -352,6 +352,7 @@ export default {
fetchProfile() {
axios.get('/api/v1/accounts/' + this.profileId).then(res => {
this.profile = res.data;
this.loading = false;
});
axios.get('/api/v1/accounts/verify_credentials').then(res => {
this.user = res.data;
@ -401,7 +402,6 @@ export default {
this.timeline.push(...data);
this.timelinePage += 1;
$state.loaded();
this.loading = false;
} else {
$state.complete();
}