Skip to content

Commit

Permalink
Export search results only when filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
ckitsanelis committed Dec 21, 2023
1 parent 6946401 commit 070bd2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viewer/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ export default class App extends React.Component<Props, State> {
exportData(exportIndices: number[]) {
var exportObjects: Object[] = []
const originalColumns = this.state.logFile.headers;
if (exportIndices.length === 0)
if (exportIndices.length === 0 || this.state.filterSearch === false)
exportIndices = Array.from(Array(this.state.logFile.amountOfRows()).keys())
for (var index of exportIndices) {
var rowObject = {};
Expand Down

0 comments on commit 070bd2f

Please sign in to comment.