mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-27 18:26:50 +00:00
Merge pull request #1168 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
88d600a2a6
5 changed files with 6 additions and 0 deletions
BIN
public/js/profile.js
vendored
BIN
public/js/profile.js
vendored
Binary file not shown.
BIN
public/js/timeline.js
vendored
BIN
public/js/timeline.js
vendored
Binary file not shown.
Binary file not shown.
|
@ -580,6 +580,9 @@ export default {
|
|||
},
|
||||
|
||||
infiniteTimeline($state) {
|
||||
if(this.loading) {
|
||||
return;
|
||||
}
|
||||
let apiUrl = '/api/v1/accounts/' + this.profileId + '/statuses';
|
||||
axios.get(apiUrl, {
|
||||
params: {
|
||||
|
|
|
@ -489,6 +489,9 @@
|
|||
},
|
||||
|
||||
infiniteTimeline($state) {
|
||||
if(this.loading) {
|
||||
return;
|
||||
}
|
||||
let apiUrl = false;
|
||||
switch(this.scope) {
|
||||
case 'home':
|
||||
|
|
Loading…
Reference in a new issue