Skip to content
Snippets Groups Projects
Commit 9dccbefa authored by Maxime Jacquemin's avatar Maxime Jacquemin Committed by David Bühler
Browse files

[ivette] Satisfying the linter

parent 327f2ac4
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,6 @@ export class LayoutEngine { ...@@ -141,7 +141,6 @@ export class LayoutEngine {
this.csRowsCounter = 1; this.csRowsCounter = 1;
this.skip = this.folded(fct); this.skip = this.folded(fct);
} }
else {}
if (this.skip) return; if (this.skip) return;
// --- chaining // --- chaining
const q = this.chained; const q = this.chained;
...@@ -179,7 +178,7 @@ export class LayoutEngine { ...@@ -179,7 +178,7 @@ export class LayoutEngine {
const stacks = this.stacks.getStacks(...markers); const stacks = this.stacks.getStacks(...markers);
const summary = fct ? this.stacks.getSummary(fct) : false; const summary = fct ? this.stacks.getSummary(fct) : false;
const callstacks = stacks.length; const callstacks = stacks.length;
const csRowsCounter = this.csRowsCounter; const { csRowsCounter } = this;
rs.push({ rs.push({
key: `P:${fct}:${csRowsCounter}`, key: `P:${fct}:${csRowsCounter}`,
kind: 'probes', kind: 'probes',
......
...@@ -217,12 +217,12 @@ function TableSection(props: TableSectionProps) { ...@@ -217,12 +217,12 @@ function TableSection(props: TableSectionProps) {
onClick={onClick} onClick={onClick}
/> />
<Cell className="eva-fct-name">{fct}</Cell> <Cell className="eva-fct-name">{fct}</Cell>
<Filler/> <Filler />
<IconButton <IconButton
icon="ITEMS.LIST" icon="ITEMS.LIST"
className="eva-probeinfo-button" className="eva-probeinfo-button"
selected={props.byCallstacks} selected={props.byCallstacks}
title={`Details by callstack`} title="Details by callstack"
onClick={props.onCallstackClick} onClick={props.onCallstackClick}
/> />
</> </>
...@@ -296,8 +296,8 @@ function TableRow(props: TableRowProps) { ...@@ -296,8 +296,8 @@ function TableRow(props: TableRowProps) {
folded={folded} folded={folded}
foldable={foldable} foldable={foldable}
onClick={() => model.setFolded(fct, !folded)} onClick={() => model.setFolded(fct, !folded)}
byCallstacks = {byCallstacks} byCallstacks={byCallstacks}
onCallstackClick = {() => model.setByCallstacks(fct, !byCallstacks)} onCallstackClick={() => model.setByCallstacks(fct, !byCallstacks)}
/> />
</Hpack> </Hpack>
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment