mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-18 11:03:17 +00:00
Update sidebar
This commit is contained in:
parent
f6bc902083
commit
5778421c84
1 changed files with 4 additions and 9 deletions
|
@ -132,7 +132,7 @@
|
|||
</router-link>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<li v-if="hasGroups" class="nav-item">
|
||||
<router-link class="nav-link" to="/groups/feed">
|
||||
<span class="icon text-lighter"><i class="far fa-layer-group"></i></span>
|
||||
{{ $t('navmenu.groups') }}
|
||||
|
@ -426,6 +426,7 @@
|
|||
hasNetworkTimeline: false,
|
||||
hasLiveStreams: false,
|
||||
hasStories: false,
|
||||
hasGroups: false,
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -433,18 +434,12 @@
|
|||
if(window.App.config.features.hasOwnProperty('timelines')) {
|
||||
this.hasLocalTimeline = App.config.features.timelines.local;
|
||||
this.hasNetworkTimeline = App.config.features.timelines.network;
|
||||
this.hasGroups = App.config.features.groups;
|
||||
//this.hasLiveStreams = App.config.ab.hls == true;
|
||||
}
|
||||
if(window.App.config.features.hasOwnProperty('stories')) {
|
||||
this.hasStories = App.config.features.stories;
|
||||
}
|
||||
// if(!this.user.username) {
|
||||
// this.user = window._sharedData.user;
|
||||
// }
|
||||
// setTimeout(() => {
|
||||
// this.user = window._sharedData.curUser;
|
||||
// this.loaded = true;
|
||||
// }, 300);
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
Loading…
Reference in a new issue