2022-08-06 14:26:43 +00:00
|
|
|
import { mapState } from 'vuex'
|
2022-08-11 18:00:27 +00:00
|
|
|
import NavigationEntry from 'src/components/navigation/navigation_entry.vue'
|
2022-08-15 17:43:38 +00:00
|
|
|
import { getListEntries } from 'src/components/navigation/filter.js'
|
2022-08-06 14:26:43 +00:00
|
|
|
|
2022-08-11 18:00:27 +00:00
|
|
|
export const ListsMenuContent = {
|
|
|
|
props: [
|
|
|
|
'showPin'
|
|
|
|
],
|
|
|
|
components: {
|
|
|
|
NavigationEntry
|
|
|
|
},
|
2022-08-06 14:26:43 +00:00
|
|
|
computed: {
|
|
|
|
...mapState({
|
2022-08-11 18:00:27 +00:00
|
|
|
lists: getListEntries,
|
2022-08-06 14:26:43 +00:00
|
|
|
currentUser: state => state.users.currentUser,
|
|
|
|
privateMode: state => state.instance.private,
|
|
|
|
federating: state => state.instance.federating
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ListsMenuContent
|