فهرست منبع

Update Timeline.vue

marcin mikołajczak 6 سال پیش
والد
کامیت
ea978dff45
1فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  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.following = res.data;
 					this.followingCursor++;
 					this.followingCursor++;
 				});
 				});
+                if(res.data.length < 10) {
+					this.followingMore = false;
+				}
 				this.$refs.followingModal.show();
 				this.$refs.followingModal.show();
 			},
 			},
 
 
@@ -908,7 +911,10 @@
 				.then(res => {
 				.then(res => {
 					this.followers = res.data;
 					this.followers = res.data;
 					this.followerCursor++;
 					this.followerCursor++;
-				})	
+				})
+                if(res.data.length < 10) {
+					this.followerMore = false;
+				}
 				this.$refs.followerModal.show();
 				this.$refs.followerModal.show();
 			},
 			},