logo

pleroma-fe

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

lists.js (430B)


  1. import { useListsStore } from 'src/stores/lists'
  2. import ListsCard from '../lists_card/lists_card.vue'
  3. const Lists = {
  4. data () {
  5. return {
  6. isNew: false
  7. }
  8. },
  9. components: {
  10. ListsCard
  11. },
  12. computed: {
  13. lists () {
  14. return useListsStore().allLists
  15. }
  16. },
  17. methods: {
  18. cancelNewList () {
  19. this.isNew = false
  20. },
  21. newList () {
  22. this.isNew = true
  23. }
  24. }
  25. }
  26. export default Lists