diff --git a/src/components/navigation/navigation_pins.js b/src/components/navigation/navigation_pins.js index 50acbbaf1..2d1922acb 100644 --- a/src/components/navigation/navigation_pins.js +++ b/src/components/navigation/navigation_pins.js @@ -9,6 +9,7 @@ import { library } from '@fortawesome/fontawesome-svg-core' import { faUsers, faGlobe, + faCity, faBookmark, faEnvelope, faComments, @@ -25,6 +26,7 @@ import { useServerSideStorageStore } from 'src/stores/serverSideStorage' library.add( faUsers, faGlobe, + faCity, faBookmark, faEnvelope, faComments, @@ -65,7 +67,8 @@ const NavPanel = { followRequestCount: state => state.api.followRequests.length, privateMode: state => state.instance.private, federating: state => state.instance.federating, - pleromaChatMessagesAvailable: state => state.instance.pleromaChatMessagesAvailable + pleromaChatMessagesAvailable: state => state.instance.pleromaChatMessagesAvailable, + bubbleTimeline: state => state.instance.localBubbleInstances.length > 0 }), pinnedList () { if (!this.currentUser) { @@ -79,7 +82,8 @@ const NavPanel = { hasAnnouncements: this.supportsAnnouncements, isFederating: this.federating, isPrivate: this.privateMode, - currentUser: this.currentUser + currentUser: this.currentUser, + supportsBubbleTimeline: this.bubbleTimeline, }) } return filterNavigation( @@ -98,6 +102,7 @@ const NavPanel = { { hasChats: this.pleromaChatMessagesAvailable, hasAnnouncements: this.supportsAnnouncements, + supportsBubbleTimeline: this.bubbleTimeline, isFederating: this.federating, isPrivate: this.privateMode, currentUser: this.currentUser diff --git a/src/modules/instance.js b/src/modules/instance.js index 98917e791..39d1fc662 100644 --- a/src/modules/instance.js +++ b/src/modules/instance.js @@ -163,6 +163,7 @@ const defaultState = { suggestionsWeb: '', quotingAvailable: false, groupActorAvailable: false, + localBubbleInstances: [], // Akkoma // Html stuff instanceSpecificPanelContent: '',