mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update Profile and Timeline components
This commit is contained in:
parent
1b95efa931
commit
153494c94f
2 changed files with 6 additions and 0 deletions
|
@ -580,6 +580,9 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
infiniteTimeline($state) {
|
infiniteTimeline($state) {
|
||||||
|
if(this.loading) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
let apiUrl = '/api/v1/accounts/' + this.profileId + '/statuses';
|
let apiUrl = '/api/v1/accounts/' + this.profileId + '/statuses';
|
||||||
axios.get(apiUrl, {
|
axios.get(apiUrl, {
|
||||||
params: {
|
params: {
|
||||||
|
|
|
@ -489,6 +489,9 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
infiniteTimeline($state) {
|
infiniteTimeline($state) {
|
||||||
|
if(this.loading) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
let apiUrl = false;
|
let apiUrl = false;
|
||||||
switch(this.scope) {
|
switch(this.scope) {
|
||||||
case 'home':
|
case 'home':
|
||||||
|
|
Loading…
Add table
Reference in a new issue