diff --git a/src/FilterLists.Web.V2/src/modules/allListsTable/columns.ts b/src/FilterLists.Web.V2/src/modules/allListsTable/columns.ts index b53ec27dc..238615323 100644 --- a/src/FilterLists.Web.V2/src/modules/allListsTable/columns.ts +++ b/src/FilterLists.Web.V2/src/modules/allListsTable/columns.ts @@ -1,9 +1,23 @@ import { ColumnProps } from "antd/lib/table"; import { List } from './List'; +const nameof = (name: Extract): string => name; + export const columns: ColumnProps[] = [ { title: 'Name', - dataIndex: 'name', + dataIndex: nameof("name") + }, + { + title: 'Description', + dataIndex: nameof("description") + }, + { + title: 'Languages', + dataIndex: nameof("languageIds") + }, + { + title: 'Tags', + dataIndex: nameof("tagIds") } ];