mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2025-01-19 03:54:04 +01:00
Fix “Media“ local settings page being inaccessible (#2922)
This commit is contained in:
parent
3fc97b14f0
commit
a6007ef5fa
1 changed files with 6 additions and 6 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue