logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

bookmark_folders.js (473B)


  1. import BookmarkFolderCard from '../bookmark_folder_card/bookmark_folder_card.vue'
  2. const BookmarkFolders = {
  3. data () {
  4. return {
  5. isNew: false
  6. }
  7. },
  8. components: {
  9. BookmarkFolderCard
  10. },
  11. computed: {
  12. bookmarkFolders () {
  13. return this.$store.state.bookmarkFolders.allFolders
  14. }
  15. },
  16. methods: {
  17. cancelNewFolder () {
  18. this.isNew = false
  19. },
  20. newFolder () {
  21. this.isNew = true
  22. }
  23. }
  24. }
  25. export default BookmarkFolders