ソースを参照

Update Profile.vue

Daniel Supernault 6 年 前
コミット
3f47872dc5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      resources/assets/js/components/Profile.vue

+ 1 - 1
resources/assets/js/components/Profile.vue

@@ -579,7 +579,7 @@ export default {
 				}
 			})
 			.then(res => {
-				let data = res.data;
+				let data = res.data.filter(status => status.media_attachments.length > 0);
 				let ids = data.map(status => status.id);
 				this.ids = ids;
 				this.min_id = Math.max(...ids);