Skip to content

Commit

Permalink
Fix “Media“ local settings page being inaccessible (#2922)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Dec 28, 2024
1 parent 3fc97b1 commit a6007ef
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,25 +63,25 @@ class LocalSettingsNavigation extends PureComponent {
title={intl.formatMessage(messages.content_warnings)}
/>
<LocalSettingsNavigationItem
active={index === 4}
index={4}
active={index === 3}
index={3}
onNavigate={onNavigate}
icon='image'
iconComponent={ImageIcon}
title={intl.formatMessage(messages.media)}
/>
<LocalSettingsNavigationItem
active={index === 5}
active={index === 4}
href={preferencesLink}
index={5}
index={4}
icon='cog'
iconComponent={SettingsIcon}
title={intl.formatMessage(messages.preferences)}
/>
<LocalSettingsNavigationItem
active={index === 6}
active={index === 5}
className='close'
index={6}
index={5}
onNavigate={onClose}
icon='times'
iconComponent={CloseIcon}
Expand Down

0 comments on commit a6007ef

Please sign in to comment.