Skip to content

Commit

Permalink
move Reply to components
Browse files Browse the repository at this point in the history
  • Loading branch information
genonfire committed May 1, 2024
1 parent 4930482 commit c886e95
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
File renamed without changes.
15 changes: 14 additions & 1 deletion src/views/admin/ManageReplies.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,20 @@
</router-link>
</td>
<td>{{ username(reply) }}</td>
<td>{{ reply.thread.title }}</td>
<td>
<router-link
:to="{
name: 'thread.read',
params: {
forum: reply.forum_name,
thread: reply.thread.id,
title: reply.thread.title.replace(/ /g, '_')
}
}"
>
{{ reply.thread.title }}
</router-link>
</td>
<td>{{ formatDateTime(reply.created_at) }}</td>
<td>
<v-icon
Expand Down
2 changes: 1 addition & 1 deletion src/views/forum/ReadThread.vue
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ import { useFormatDate } from '@/composables/datetime'
import { useDownload } from '@/composables/download'
import { useFile } from '@/composables/file'
import { useUser } from '@/composables/user'
import Reply from './Reply'
import Reply from '@/components/Reply'
export default {
setup() {
Expand Down

0 comments on commit c886e95

Please sign in to comment.