@@ -347,7 +347,7 @@ const InternalTable = ({
347
347
}
348
348
349
349
const renderContent = ( ) => {
350
- if ( ! areFilteredRowsLoading && ! filteredRows . length ) {
350
+ if ( ! areFilteredRowsLoading && ! filteredRows ? .length ) {
351
351
return filtersVariant !== FiltersTypeEnum . NONE && isFilterApplied ? (
352
352
< GenericFilterEmptyState handleClearFilters = { clearFilters } />
353
353
) : (
@@ -536,7 +536,7 @@ const TableWithKeyboardShortcuts = (tableProps: InternalTablePropsWithWrappers)
536
536
} )
537
537
538
538
registerShortcut ( {
539
- keys : [ 'Dot ' ] ,
539
+ keys : [ '. ' ] ,
540
540
callback : ( ) => {
541
541
dispatchEvent ( SignalEnum . OPEN_CONTEXT_MENU )
542
542
} ,
@@ -598,7 +598,7 @@ const TableWithKeyboardShortcuts = (tableProps: InternalTablePropsWithWrappers)
598
598
unregisterShortcut ( [ 'ArrowUp' ] )
599
599
unregisterShortcut ( [ 'ArrowDown' ] )
600
600
unregisterShortcut ( [ 'Enter' ] )
601
- unregisterShortcut ( [ 'Dot ' ] )
601
+ unregisterShortcut ( [ '. ' ] )
602
602
unregisterShortcut ( [ 'Delete' ] )
603
603
604
604
if ( isBulkSelectionConfigured ) {
@@ -724,7 +724,7 @@ const TableWrapper = (tableProps: TableProps) => {
724
724
const wrapperProps = FilterWrapperComponent === Fragment ? { } : { additionalFilterProps }
725
725
726
726
return (
727
- < UseRegisterShortcutProvider shortcutTimeout = { 50 } preventDefault >
727
+ < UseRegisterShortcutProvider shortcutTimeout = { 50 } >
728
728
< FilterWrapperComponent { ...wrapperProps } >
729
729
{ /* NOTE: filterData will be populated by FilterWrapperComponent */ }
730
730
< VisibleColumnsWrapper
0 commit comments