This commit is contained in:
Michael Quigley 2025-01-27 11:18:15 -05:00
parent 625dfe84f7
commit 2172836a11
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 3 additions and 2 deletions

View File

@ -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>
);

View File

@ -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;
}