Browse Source

change how list ColumnLink keys are determined

closed-social-glitch-2
cwm 6 years ago
parent
commit
6236577734
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/features/getting_started/index.js

+ 1
- 1
app/javascript/flavours/glitch/features/getting_started/index.js View File

@ -114,7 +114,7 @@ export default class GettingStarted extends ImmutablePureComponent {
<div>
<ColumnLink key='7' icon='bars' text={intl.formatMessage(messages.lists)} to='/lists' />
{lists.map(list =>
<ColumnLink key={list.get('id')} to={`/timelines/list/${list.get('id')}`} icon='list-ul' text={list.get('title')} />
<ColumnLink key={(7 + Number(list.get('id'))).toString()} to={`/timelines/list/${list.get('id')}`} icon='list-ul' text={list.get('title')} />
)}
</div>,
]);

Loading…
Cancel
Save