Browse Source

Update Profile and Timeline components

Daniel Supernault 6 years ago
parent
commit
153494c94f

+ 3 - 0
resources/assets/js/components/Profile.vue

@@ -580,6 +580,9 @@ export default {
 		},
 
 		infiniteTimeline($state) {
+			if(this.loading) {
+				return;
+			}
 			let apiUrl = '/api/v1/accounts/' + this.profileId + '/statuses';
 			axios.get(apiUrl, {
 				params: {

+ 3 - 0
resources/assets/js/components/Timeline.vue

@@ -489,6 +489,9 @@
 			},
 
 			infiniteTimeline($state) {
+				if(this.loading) {
+					return;
+				}
 				let apiUrl = false;
 				switch(this.scope) {
 					case 'home':