Browse Source

Use slug rather than name of thread

sbkwgh 8 năm trước cách đây
mục cha
commit
4b984bb195
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/ThreadPost.vue

+ 1 - 1
src/components/ThreadPost.vue

@@ -78,7 +78,7 @@
 			return {
 				hover: false,
 				showShareModal: false,
-				postURL: `${location.origin}/thread/${post.Thread.name}/${post.ThreadId}/${post.id}`
+				postURL: `${location.origin}/thread/${post.Thread.slug}/${post.ThreadId}/${post.id}`
 			}
 		},
 		methods: {