kopia lustrzana https://github.com/pixelfed/pixelfed
Update Profile and Timeline components
rodzic
1b95efa931
commit
153494c94f
|
@ -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':
|
||||||
|
|
Ładowanie…
Reference in New Issue