mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-18 19:13: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>
|
</router-link>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="nav-item">
|
<li v-if="hasGroups" class="nav-item">
|
||||||
<router-link class="nav-link" to="/groups/feed">
|
<router-link class="nav-link" to="/groups/feed">
|
||||||
<span class="icon text-lighter"><i class="far fa-layer-group"></i></span>
|
<span class="icon text-lighter"><i class="far fa-layer-group"></i></span>
|
||||||
{{ $t('navmenu.groups') }}
|
{{ $t('navmenu.groups') }}
|
||||||
|
@ -426,6 +426,7 @@
|
||||||
hasNetworkTimeline: false,
|
hasNetworkTimeline: false,
|
||||||
hasLiveStreams: false,
|
hasLiveStreams: false,
|
||||||
hasStories: false,
|
hasStories: false,
|
||||||
|
hasGroups: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -433,18 +434,12 @@
|
||||||
if(window.App.config.features.hasOwnProperty('timelines')) {
|
if(window.App.config.features.hasOwnProperty('timelines')) {
|
||||||
this.hasLocalTimeline = App.config.features.timelines.local;
|
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;
|
//this.hasLiveStreams = App.config.ab.hls == true;
|
||||||
}
|
}
|
||||||
if(window.App.config.features.hasOwnProperty('stories')) {
|
if(window.App.config.features.hasOwnProperty('stories')) {
|
||||||
this.hasStories = App.config.features.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: {
|
methods: {
|
||||||
|
|
Loading…
Reference in a new issue