29 lines
548 B
JavaScript
29 lines
548 B
JavaScript
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
|