Explorar el Código

Use slug rather than name of thread

sbkwgh hace 8 años
padre
commit
4b984bb195
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: {