Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanPospisil committed May 3, 2024
1 parent 69b90f8 commit 1fcad09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion frontend/awx/views/jobs/JobOutput/JobEventEllipsis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ const Wrapper = styled.div`

export function JobEventEllipsis() {
return <Wrapper>...</Wrapper>;
}
}
15 changes: 6 additions & 9 deletions frontend/awx/views/jobs/JobOutput/JobOutputRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Ansi } from '../../../../common/Ansi';
import { JobEvent } from '../../../interfaces/JobEvent';
import './JobOutput.css';
import { ICollapsed } from './JobOutputEvents';
import {JobEventEllipsis} from './JobEventEllipsis';
import { JobEventEllipsis } from './JobEventEllipsis';

const LineNumberGutter = styled.div`
position: sticky;
Expand Down Expand Up @@ -65,14 +65,11 @@ export function JobOutputRow(props: {
/>
</ExpandButton>
)}

<LineNumber>
{row.line}
{row.canCollapse && isCollapsed && (
<JobEventEllipsis />
)}
</LineNumber>


<LineNumber>
{row.line}
{row.canCollapse && isCollapsed && <JobEventEllipsis />}
</LineNumber>
</LineNumberGutter>
<StdOutColumn>
<Ansi input={row.stdout} />
Expand Down

0 comments on commit 1fcad09

Please sign in to comment.