Update sidebar

This commit is contained in:
Daniel Supernault 2024-07-23 02:23:18 -06:00
parent f6bc902083
commit 5778421c84
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -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,25 +426,20 @@
hasNetworkTimeline: false,
hasLiveStreams: false,
hasStories: false,
hasGroups: false,
}
},
mounted() {
if(window.App.config.features.hasOwnProperty('timelines')) {
this.hasLocalTimeline = App.config.features.timelines.local;
this.hasNetworkTimeline = App.config.features.timelines.network;
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: {