Skip to content

Commit

Permalink
fix: organism table initial state (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterckx committed Jan 16, 2025
1 parent 93aac4a commit 6990ba7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions site-config/brc-analytics/local/index/organismEntityConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,16 @@ export const organismEntityConfig: BRCEntityConfig<BRCDataCatalogOrganism> = {
width: { max: "0.5fr", min: "164px" },
},
],
defaultSort: {
desc: SORT_DIRECTION.ASCENDING,
id: BRC_DATA_CATALOG_CATEGORY_KEY.SPECIES,
tableOptions: {
initialState: {
columnVisibility: {},
sorting: [
{
desc: SORT_DIRECTION.ASCENDING,
id: BRC_DATA_CATALOG_CATEGORY_KEY.SPECIES,
},
],
},
},
} as ListConfig<BRCDataCatalogOrganism>,
listView: {
Expand Down

0 comments on commit 6990ba7

Please sign in to comment.