diff --git a/src/components/navigation/filter.js b/src/components/navigation/filter.js index 325bb5a43..8e5ace57b 100644 --- a/src/components/navigation/filter.js +++ b/src/components/navigation/filter.js @@ -1,12 +1,4 @@ -export const filterNavigation = (list = [], { - hasChats, - hasAnnouncements, - isFederating, - isPrivate, - currentUser, - supportsBookmarkFolders, - supportsBubbleTimeline -}) => { +export const filterNavigation = (list = [], { hasChats, hasAnnouncements, isFederating, isPrivate, currentUser, supportsBookmarkFolders }) => { return list.filter(({ criteria, anon, anonRoute }) => { const set = new Set(criteria || []) if (!isFederating && set.has('federating')) return false @@ -16,7 +8,6 @@ export const filterNavigation = (list = [], { if (!hasChats && set.has('chats')) return false if (!hasAnnouncements && set.has('announcements')) return false if (supportsBookmarkFolders && set.has('!supportsBookmarkFolders')) return false - if (supportsBubbleTimeline && set.has('!supportsBubbleTimeline')) return false return true }) }