Skip to content

Commit

Permalink
Address renaming missed in the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
louwie17 committed Dec 2, 2024
1 parent 4df0165 commit ac03ed1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/dataviews/src/normalize-fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ export function normalizeFields< Item >(
);
};

let supportsBulk = true;
let supportsBulkEditing = true;
// If custom Edit component is passed in we default to false for bulk edit support.
if ( typeof field.Edit === 'function' || field.supportsBulkEditing ) {
supportsBulk = field.supportsBulkEditing ?? false;
supportsBulkEditing = field.supportsBulkEditing ?? false;
}

const render =
Expand All @@ -82,7 +82,7 @@ export function normalizeFields< Item >(
sort,
isValid,
Edit,
supportsBulk,
supportsBulkEditing,
enableHiding: field.enableHiding ?? true,
enableSorting: field.enableSorting ?? true,
};
Expand Down

0 comments on commit ac03ed1

Please sign in to comment.