Skip to content

Commit

Permalink
lint (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelquigley committed Jan 27, 2025
1 parent 625dfe8 commit 2172836
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui100/src/ApiConsole.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);
Expand Down
3 changes: 2 additions & 1 deletion ui100/src/TabularView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2172836

Please sign in to comment.