mirror of
https://github.com/openziti/zrok.git
synced 2025-03-13 15:08:21 +01:00
lint (#724)
This commit is contained in:
parent
625dfe84f7
commit
2172836a11
@ -181,7 +181,7 @@ const ApiConsole = ({ logout }: ApiConsoleProps) => {
|
||||
<Grid2 size="grow">
|
||||
{mainPanel}
|
||||
</Grid2>
|
||||
{sidePanel ? <Grid2 size={5}>{sidePanel}</Grid2> : null}
|
||||
{sidePanel ? <Grid2 container size={5}><Grid2 >{sidePanel}</Grid2></Grid2> : null}
|
||||
</Grid2>
|
||||
</div>
|
||||
);
|
||||
|
@ -67,7 +67,8 @@ const TabularView = () => {
|
||||
|
||||
const sparkdataTip = (row) => {
|
||||
if(row.data && row.data.activity) {
|
||||
return row.data.activity[row.data.activity.length - 1];
|
||||
// - 2; - 1 is sometimes undefined?
|
||||
return row.data.activity[row.data.activity.length - 2];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user