2021-02-22 14:24:04 +00:00
|
|
|
import { mapState } from 'vuex'
|
|
|
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
|
|
import {
|
|
|
|
faUsers,
|
|
|
|
faGlobe,
|
|
|
|
faBookmark,
|
|
|
|
faEnvelope,
|
2022-07-22 14:36:45 +00:00
|
|
|
faHome,
|
|
|
|
faCircle
|
2021-02-22 14:24:04 +00:00
|
|
|
} from '@fortawesome/free-solid-svg-icons'
|
|
|
|
|
|
|
|
library.add(
|
|
|
|
faUsers,
|
|
|
|
faGlobe,
|
|
|
|
faBookmark,
|
|
|
|
faEnvelope,
|
2022-07-22 14:36:45 +00:00
|
|
|
faHome,
|
|
|
|
faCircle
|
2021-02-22 14:24:04 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
const TimelineMenuContent = {
|
|
|
|
computed: {
|
|
|
|
...mapState({
|
|
|
|
currentUser: state => state.users.currentUser,
|
|
|
|
privateMode: state => state.instance.private,
|
2022-09-14 18:44:29 +00:00
|
|
|
federating: state => state.instance.federating,
|
|
|
|
showBubbleTimeline: state => (state.instance.localBubbleInstances.length > 0)
|
2021-02-22 14:24:04 +00:00
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default TimelineMenuContent
|