ソースを参照

Update Timeline component, defer notifications until timeline is loaded

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

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

@@ -341,7 +341,6 @@
 		mounted() {
 			this.$nextTick(function () {
 				$('[data-toggle="tooltip"]').tooltip()
-				this.fetchNotifications();
 			});
 		},
 
@@ -379,6 +378,7 @@
 					}
 					$('.timeline .pagination').removeClass('d-none');
 					this.loading = false;
+					this.fetchNotifications();
 				}).catch(err => {
 				});
 			},