Przeglądaj źródła

Use slug rather than name of thread

sbkwgh 8 lat temu
rodzic
commit
4b984bb195
1 zmienionych plików z 1 dodań i 1 usunięć
  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: {