Kaynağa Gözat

Use slug rather than name of thread

sbkwgh 8 yıl önce
ebeveyn
işleme
4b984bb195
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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: {