mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
re-arrange column order
This commit is contained in:
parent
509fe2104e
commit
6779cd597e
2 changed files with 5 additions and 5 deletions
|
|
@ -3,12 +3,12 @@ import { IColumnVisibility, ILanguage, IList, IMaintainer, ISoftware, ITag } fro
|
|||
import { ListsTable, Oneliner } from "./components";
|
||||
|
||||
const columnVisibilityDefaults: IColumnVisibility[] = [
|
||||
{ column: "Maintainers", visible: false },
|
||||
{ column: "Software", visible: true },
|
||||
{ column: "Tags", visible: true },
|
||||
{ column: "Languages", visible: true },
|
||||
{ column: "Tags", visible: true },
|
||||
{ column: "Updated Date", visible: false },
|
||||
{ column: "Rule Count", visible: false }
|
||||
{ column: "Rule Count", visible: false },
|
||||
{ column: "Maintainers", visible: false }
|
||||
];
|
||||
|
||||
interface IProps {
|
||||
|
|
|
|||
|
|
@ -26,12 +26,12 @@ export const ListsTable = (props: IProps) =>
|
|||
showPageSizeOptions={false}
|
||||
columns={[
|
||||
Name,
|
||||
Maintainers(props.columnVisibility, props.maintainers),
|
||||
Software(props.columnVisibility, props.software),
|
||||
Tags(props.columnVisibility, props.tags),
|
||||
Languages(props.columnVisibility, props.languages),
|
||||
Tags(props.columnVisibility, props.tags),
|
||||
UpdatedDate(props.columnVisibility),
|
||||
RuleCount(props.columnVisibility),
|
||||
Maintainers(props.columnVisibility, props.maintainers),
|
||||
DetailsButton
|
||||
]}
|
||||
defaultSorted={[{ id: "name" }]}
|
||||
|
|
|
|||
Loading…
Reference in a new issue