瀏覽代碼

Change no threads message font size, fix redirection on thread id param change

sbkwgh 7 年之前
父節點
當前提交
0d691be930
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 1 0
      frontend/src/components/MoreThreads.vue
  2. 3 0
      frontend/src/components/routes/Thread.vue

+ 1 - 0
frontend/src/components/MoreThreads.vue

@@ -89,6 +89,7 @@
 		}
 		@at-root #{&}__empty {
 			padding: 1rem;
+			font-size: 1.5rem;
 		}
 	}
 </style>

+ 3 - 0
frontend/src/components/routes/Thread.vue

@@ -335,6 +335,9 @@
 				this.$store.commit('thread/setPostNotification', null)
 			}
 		},
+		watch: {
+			'$route.params.id': 'loadInitialPosts'
+		},
 		mounted () {
 			let self = this;
 			let setHeader = function() {