Migrate bookmark folders state to pinia store

This commit is contained in:
Sean King 2025-02-21 23:37:29 -07:00
commit bc0b13ac0d
No known key found for this signature in database
GPG key ID: 510C52BACD6E7257
11 changed files with 77 additions and 84 deletions

View file

@ -1,4 +1,5 @@
import BookmarkFolderCard from '../bookmark_folder_card/bookmark_folder_card.vue'
import { useBookmarkFoldersStore } from 'src/stores/bookmark_folders'
const BookmarkFolders = {
data () {
@ -11,7 +12,7 @@ const BookmarkFolders = {
},
computed: {
bookmarkFolders () {
return this.$store.state.bookmarkFolders.allFolders
return useBookmarkFoldersStore().allFolders
}
},
methods: {