diff options
| author | Henry Jameson <me@hjkos.com> | 2023-04-12 23:31:11 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2023-04-12 23:31:11 +0300 |
| commit | 3e1aeb6d2c9b540271bd0d7890ab424cb27422ae (patch) | |
| tree | cc8a9c3a63c92bd1a55b849c5380f52e0a58c9a0 /src/components/navigation/navigation_pins.js | |
| parent | 9e5c7313c64c9f9eeff7184f5f474cc055d80715 (diff) | |
| parent | bc830cd03365387b30a2900d133155bf3858f1fe (diff) | |
Merge remote-tracking branch 'origin/develop' into improve_settings_reusability
Diffstat (limited to 'src/components/navigation/navigation_pins.js')
| -rw-r--r-- | src/components/navigation/navigation_pins.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/navigation/navigation_pins.js b/src/components/navigation/navigation_pins.js index ef78e44c..86c33d1f 100644 --- a/src/components/navigation/navigation_pins.js +++ b/src/components/navigation/navigation_pins.js @@ -45,6 +45,7 @@ const NavPanel = { privateMode: state => state.instance.private, federating: state => state.instance.federating, pleromaChatMessagesAvailable: state => state.instance.pleromaChatMessagesAvailable, + supportsAnnouncements: state => state.announcements.supportsAnnouncements, pinnedItems: state => new Set(state.serverSideStorage.prefsStorage.collections.pinnedNavItems) }), pinnedList () { @@ -56,6 +57,7 @@ const NavPanel = { ], { hasChats: this.pleromaChatMessagesAvailable, + hasAnnouncements: this.supportsAnnouncements, isFederating: this.federating, isPrivate: this.privateMode, currentUser: this.currentUser @@ -75,6 +77,7 @@ const NavPanel = { ], { hasChats: this.pleromaChatMessagesAvailable, + hasAnnouncements: this.supportsAnnouncements, isFederating: this.federating, isPrivate: this.privateMode, currentUser: this.currentUser |
