Skip to content

Commit 6f89023

Browse files
committed
feat(posts): add deletemodal component
1 parent 821d650 commit 6f89023

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/views/Posts.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,11 +447,12 @@ import { inject, reactive, watch, toRefs } from 'vue'
447447
import { postsApi, threadsApi } from '@/api'
448448
import { AuthStore } from '@/composables/stores/auth'
449449
import { PreferencesStore, localStoragePrefs } from '@/composables/stores/prefs'
450+
import DeleteModal from '@/components/modals/posts/Delete.vue'
450451
451452
export default {
452453
name: 'Posts',
453454
props: ['threadSlug', 'threadId'],
454-
components: { Pagination },
455+
components: { Pagination, DeleteModal },
455456
beforeRouteEnter(to, from, next) {
456457
const params = {
457458
limit: localStoragePrefs().data.posts_per_page,

0 commit comments

Comments
 (0)