mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
handle lists with no tags
This commit is contained in:
parent
32e137ec1b
commit
8f93fe1368
1 changed files with 2 additions and 1 deletions
|
|
@ -96,8 +96,9 @@ export class AllListsTable extends React.Component<{}, State> {
|
|||
<Table.Column<List>
|
||||
title="Tags"
|
||||
dataIndex={nameof<List>("tagIds")}
|
||||
width={200}
|
||||
render={(tagIds: number[]) =>
|
||||
<TagCloud tags={this.state.tags.filter((t: Tag) => tagIds.includes(t.id))} />} />
|
||||
tagIds ? <TagCloud tags={this.state.tags.filter((t: Tag) => tagIds.includes(t.id))} /> : null} />
|
||||
<Table.Column<List> title="Subscribe"
|
||||
dataIndex={nameof<List>("viewUrl")}
|
||||
width={123}
|
||||
|
|
|
|||
Loading…
Reference in a new issue