Skip to content

Commit

Permalink
yarn format
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Nov 10, 2022
1 parent 7ac7767 commit 3749779
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/core/src/admin-ui/system/createAdminMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export function createAdminMeta(
listConfig.ui?.listView?.pageSize ?? 50,
(list.types.findManyArgs.take.defaultValue ?? Infinity) as number
);

adminMetaRoot.listsByKey[key] = {
key,
labelField: list.ui.labelField,
Expand All @@ -118,6 +119,7 @@ export function createAdminMeta(
plural: list.adminUILabels.plural,
path: list.adminUILabels.path,
fields: [],
fieldsByKey: {},
pageSize: maximumPageSize,
initialColumns,
initialSort:
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/lib/core/types-for-lists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ function getListsWithInitialisedFields(
ui: {
labelField,
searchFields,
searchableFields
searchableFields,
},
hooks: list.hooks || {},

Expand Down

0 comments on commit 3749779

Please sign in to comment.