Skip to content

Commit

Permalink
fix no update in file list when filtering result have same number of …
Browse files Browse the repository at this point in the history
…files
  • Loading branch information
TienHao committed May 15, 2024
1 parent 3830965 commit 0d5f099
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ export class FileListTableComponent extends React.Component<FileListTableCompone
enableRowHeader={false}
numRows={this.tableEntries.length}
loadingOptions={this.props.loading ? [TableLoadingOption.CELLS] : []}
cellRendererDependencies={[this.props.sortingString]} // trigger re-render on sorting change
cellRendererDependencies={[this.props.sortingString, this.props.filterString]} // trigger re-render on sorting change
>
<Column name="Filename" columnHeaderCellRenderer={() => this.renderColumnHeader("Filename")} cellRenderer={this.renderFilenames} />
<Column name="Type" columnHeaderCellRenderer={() => this.renderColumnHeader("Type")} cellRenderer={this.renderTypes} />
Expand Down

0 comments on commit 0d5f099

Please sign in to comment.