Skip to content

Commit

Permalink
fix build bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RFbkak37y3kIY committed Jul 8, 2022
1 parent 98fbd4c commit 2a6c422
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/pages/home.page/home.page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,19 +173,19 @@ <h1>No Data</h1>
)
}}
</span>

<span>
({{
timeShorter(
(dataForFile?.statistics?.elapsed || 0) / ( parseFloat(dataForFile?.statistics?.elapsed) || 0.001 )
(dataForFile?.statistics?.elapsed || 0) / ( parseFloat(dataForFile?.statistics?.elapsed || 0) || 0.001 )
)
}} rows/s. {{
bytesToSize(
(dataForFile?.statistics?.bytes_read || 0) / ( parseFloat(dataForFile?.statistics?.elapsed) || 0.001 )
(dataForFile?.statistics?.bytes_read || 0) / ( parseFloat(dataForFile?.statistics?.elapsed || 0) || 0.001 )
)
}}/s.)
</span>

</div>
</div>
<custom-ag-grid
Expand Down
1 change: 1 addition & 0 deletions src/app/pages/home.page/home.page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export class HomePageComponent implements OnInit {
pageSize: number = 50;
isPaginator: boolean = true;
currentRow: Row = new Map();
parseFloat = parseFloat;
constructor(
private apiService: ApiService,
private docsService: DocsService,
Expand Down

0 comments on commit 2a6c422

Please sign in to comment.