Explorar o código

Update Timeline.vue

marcin mikołajczak %!s(int64=6) %!d(string=hai) anos
pai
achega
ea978dff45
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      resources/assets/js/components/Timeline.vue

+ 7 - 1
resources/assets/js/components/Timeline.vue

@@ -892,6 +892,9 @@
 					this.following = res.data;
 					this.followingCursor++;
 				});
+                if(res.data.length < 10) {
+					this.followingMore = false;
+				}
 				this.$refs.followingModal.show();
 			},
 
@@ -908,7 +911,10 @@
 				.then(res => {
 					this.followers = res.data;
 					this.followerCursor++;
-				})	
+				})
+                if(res.data.length < 10) {
+					this.followerMore = false;
+				}
 				this.$refs.followerModal.show();
 			},