logo

pleroma-fe

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

lists.js (389B)


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