pleroma-fe/src/components/lists/lists.js
2026-01-29 20:44:55 +02:00

29 lines
435 B
JavaScript

import ListsCard from '../lists_card/lists_card.vue'
import { useListsStore } from 'src/stores/lists.js'
const Lists = {
data() {
return {
isNew: false,
}
},
components: {
ListsCard,
},
computed: {
lists() {
return useListsStore().allLists
},
},
methods: {
cancelNewList() {
this.isNew = false
},
newList() {
this.isNew = true
},
},
}
export default Lists