diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-08-30 10:57:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 10:57:27 +0200 |
commit | 0495302f1ca811e5ed48ed49b2d291fc119e9dc6 (patch) | |
tree | 6cae23651075ab13cd43be9b9835808efc17f1fc /app | |
parent | bbb45568adb4ac3b3bc6cb4c81da70b0fe605c2e (diff) |
Fix local settings navigation (#1836)
The “filters” page was removed, but not from the navigation, which would offset everything.
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/features/local_settings/navigation/index.js | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/app/javascript/flavours/glitch/features/local_settings/navigation/index.js b/app/javascript/flavours/glitch/features/local_settings/navigation/index.js index ab3a554bf..d085a606c 100644 --- a/app/javascript/flavours/glitch/features/local_settings/navigation/index.js +++ b/app/javascript/flavours/glitch/features/local_settings/navigation/index.js @@ -61,34 +61,27 @@ class LocalSettingsNavigation extends React.PureComponent { active={index === 3} index={3} onNavigate={onNavigate} - icon='filter' - title={intl.formatMessage(messages.filters)} - /> - <LocalSettingsNavigationItem - active={index === 4} - index={4} - onNavigate={onNavigate} icon='angle-double-up' title={intl.formatMessage(messages.collapsed)} /> <LocalSettingsNavigationItem - active={index === 5} - index={5} + active={index === 4} + index={4} onNavigate={onNavigate} icon='image' title={intl.formatMessage(messages.media)} /> <LocalSettingsNavigationItem - active={index === 6} + active={index === 5} href={ preferencesLink } - index={6} + index={5} icon='cog' title={intl.formatMessage(messages.preferences)} /> <LocalSettingsNavigationItem - active={index === 7} + active={index === 6} className='close' - index={7} + index={6} onNavigate={onClose} icon='times' title={intl.formatMessage(messages.close)} |