@@ -57,7 +57,6 @@ const _ = cockpit.gettext;
57
57
* - emptyCaption: header caption to show if list is empty
58
58
* - emptyCaptionDetail: extra details to show after emptyCaption if list is empty
59
59
* - emptyComponent: Whole empty state component to show if the list is empty
60
- * - isEmptyStateInTable: if empty state is result of a filter function this should be set, otherwise false
61
60
* - loading: Set to string when the content is still loading. This string is shown.
62
61
* - variant: For compact tables pass 'compact'
63
62
* - gridBreakPoint: Specifies the grid breakpoints ('', 'grid' | 'grid-md' | 'grid-lg' | 'grid-xl' | 'grid-2xl')
@@ -107,7 +106,6 @@ export interface ListingTableProps extends Omit<TableProps, 'rows' | 'onSelect'>
107
106
emptyCaption ?: React . ReactNode ,
108
107
emptyCaptionDetail ?: React . ReactNode ,
109
108
emptyComponent ?: React . ReactNode ,
110
- isEmptyStateInTable ?: boolean ,
111
109
loading ?: string ,
112
110
onRowClick ?: ( event : React . KeyboardEvent | React . MouseEvent | undefined , row : ListingTableRowProps ) => void ,
113
111
onSelect ?: OnSelect ;
@@ -127,7 +125,6 @@ export const ListingTable = ({
127
125
emptyCaption = '' ,
128
126
emptyCaptionDetail,
129
127
emptyComponent,
130
- isEmptyStateInTable = false ,
131
128
loading = '' ,
132
129
onRowClick,
133
130
onSelect,
@@ -214,8 +211,6 @@ export const ListingTable = ({
214
211
</ EmptyStateFooter > }
215
212
</ EmptyState >
216
213
) ;
217
- if ( ! isEmptyStateInTable )
218
- return emptyState ;
219
214
220
215
const emptyStateCell = (
221
216
[ {
0 commit comments