forked from mirror/pixelfed
Merge pull request #874 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
18110d9020
3 changed files with 1 additions and 1 deletions
BIN
public/js/profile.js
vendored
BIN
public/js/profile.js
vendored
Binary file not shown.
Binary file not shown.
|
@ -352,6 +352,7 @@ export default {
|
||||||
fetchProfile() {
|
fetchProfile() {
|
||||||
axios.get('/api/v1/accounts/' + this.profileId).then(res => {
|
axios.get('/api/v1/accounts/' + this.profileId).then(res => {
|
||||||
this.profile = res.data;
|
this.profile = res.data;
|
||||||
|
this.loading = false;
|
||||||
});
|
});
|
||||||
axios.get('/api/v1/accounts/verify_credentials').then(res => {
|
axios.get('/api/v1/accounts/verify_credentials').then(res => {
|
||||||
this.user = res.data;
|
this.user = res.data;
|
||||||
|
@ -401,7 +402,6 @@ export default {
|
||||||
this.timeline.push(...data);
|
this.timeline.push(...data);
|
||||||
this.timelinePage += 1;
|
this.timelinePage += 1;
|
||||||
$state.loaded();
|
$state.loaded();
|
||||||
this.loading = false;
|
|
||||||
} else {
|
} else {
|
||||||
$state.complete();
|
$state.complete();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue