diff --git a/src/App.js b/src/App.js index c6f2b21b3..0714ced1d 100644 --- a/src/App.js +++ b/src/App.js @@ -202,7 +202,7 @@ export default { 'styleDataUsed', 'layoutType', ]), - ...mapState(useInstanceStore, ['styleDataUsed', 'private']), + ...mapState(useInstanceStore, ['styleDataUsed']), ...mapState(useInstanceCapabilitiesStore, [ 'suggestionsEnabled', 'editingAvailable', diff --git a/src/components/lists_menu/lists_menu_content.js b/src/components/lists_menu/lists_menu_content.js index 4dae0bff4..d96f14599 100644 --- a/src/components/lists_menu/lists_menu_content.js +++ b/src/components/lists_menu/lists_menu_content.js @@ -16,7 +16,6 @@ export const ListsMenuContent = { ...mapPiniaState(useListsStore, { lists: getListEntries, }), - ...mapPiniaState(useInstanceStore, ['private', 'federating']), ...mapState({ currentUser: (state) => state.users.currentUser, }), diff --git a/src/components/navigation/navigation_pins.js b/src/components/navigation/navigation_pins.js index 0115f370f..698bf5d59 100644 --- a/src/components/navigation/navigation_pins.js +++ b/src/components/navigation/navigation_pins.js @@ -74,7 +74,7 @@ const NavPanel = { pinnedItems: (store) => new Set(store.prefsStorage.collections.pinnedNavItems), }), - ...mapPiniaState(useInstanceStore, ['private', 'federating']), + ...mapPiniaState(useInstanceStore, ['privateMode', 'federating']), ...mapPiniaState(useInstanceCapabilitiesStore, [ 'pleromaChatMessagesAvailable', 'localBubble', @@ -95,7 +95,7 @@ const NavPanel = { hasChats: this.pleromaChatMessagesAvailable, hasAnnouncements: this.supportsAnnouncements, isFederating: this.federating, - isPrivate: this.private, + isPrivate: this.privateMode, currentUser: this.currentUser, supportsBubbleTimeline: this.localBubble, supportsBookmarkFolders: this.bookmarks, @@ -119,7 +119,7 @@ const NavPanel = { supportsBubbleTimeline: this.localBubble, supportsBookmarkFolders: this.bookmarks, isFederating: this.federating, - isPrivate: this.private, + isPrivate: this.privateMode, currentUser: this.currentUser, }, ).slice(0, this.limit) diff --git a/src/components/timeline_menu/timeline_menu.js b/src/components/timeline_menu/timeline_menu.js index b309a93ff..3db087db6 100644 --- a/src/components/timeline_menu/timeline_menu.js +++ b/src/components/timeline_menu/timeline_menu.js @@ -68,7 +68,7 @@ const TimelineMenu = { 'bookmarkFolders', 'localBubble', ]), - ...mapPiniaState(useInstanceStore, ['private', 'federating']), + ...mapPiniaState(useInstanceStore, ['privateMode', 'federating']), ...mapState({ currentUser: (state) => state.users.currentUser, }), @@ -78,7 +78,7 @@ const TimelineMenu = { { hasChats: this.pleromaChatMessagesAvailable, isFederating: this.federating, - isPrivate: this.private, + isPrivate: this.privateMode, currentUser: this.currentUser, supportsBookmarkFolders: this.pleromaBookmarkFoldersAvailable, supportsBubbleTimeline: this.localBubble,