pleroma-fe/src/components/lists/lists.js
Henry Jameson ebe095bd76 fix prod build again + fetch lists (and follow request) on login,
stop fetching on logout, don't start fetching in components
2022-08-15 20:44:21 +03:00

30 lines
453 B
JavaScript

import ListsCard from '../lists_card/lists_card.vue'
import ListsNew from '../lists_new/lists_new.vue'
const Lists = {
data () {
return {
isNew: false
}
},
components: {
ListsCard,
ListsNew
},
computed: {
lists () {
return this.$store.state.lists.allLists
}
},
methods: {
cancelNewList () {
this.isNew = false
},
newList () {
this.isNew = true
}
}
}
export default Lists