diff options
| author | Shpuld Shpludson <shp@cock.li> | 2021-03-15 07:03:22 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2021-03-15 07:03:22 +0000 |
| commit | 184364c7e06a982b48bbe6d913f02a73dd428aef (patch) | |
| tree | b7cab98412b11b4adf14a4d180f27077a78b4d3a /src/components/timeline_menu/timeline_menu_content.js | |
| parent | 6281241b92bc17a9535b15a52e656b9f218e3322 (diff) | |
| parent | 92a9ce67c595bf54a95cca917ba07772bec0f041 (diff) | |
Merge branch 'feat/timeline-menu-in-navpanel' into 'develop'
Add timeline menu toggle to nav panel
See merge request pleroma/pleroma-fe!1352
Diffstat (limited to 'src/components/timeline_menu/timeline_menu_content.js')
| -rw-r--r-- | src/components/timeline_menu/timeline_menu_content.js | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/components/timeline_menu/timeline_menu_content.js b/src/components/timeline_menu/timeline_menu_content.js new file mode 100644 index 00000000..671570dd --- /dev/null +++ b/src/components/timeline_menu/timeline_menu_content.js @@ -0,0 +1,29 @@ +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 |
