timeline_menu_content.js (548B)
- import { mapState } from 'vuex'
- import { library } from '@fortawesome/fontawesome-svg-core'
- import {
- faUsers,
- faGlobe,
- faBookmark,
- faEnvelope,
- faHome
- } from '@fortawesome/free-solid-svg-icons'
- library.add(
- faUsers,
- faGlobe,
- faBookmark,
- faEnvelope,
- faHome
- )
- const TimelineMenuContent = {
- computed: {
- ...mapState({
- currentUser: state => state.users.currentUser,
- privateMode: state => state.instance.private,
- federating: state => state.instance.federating
- })
- }
- }
- export default TimelineMenuContent